Since you want to limit the subform based on what's in *either* control
(possibly but not necessarily both), you can't use the
LinkMasterFields/LinkChildFields.
Instead use the AfterUpdate event procedure of the controls to assign the
RecordSource (or Filter) of the subform. This means writing code to generate
the query statement that limits it to the relevant contents.
There's an example of generating such a filter here:
Search form - Handle many optional criteria
at:
http://allenbrowne.com/ser-62.html
Hopefully your controls are really called Name and Date, because Access is
likely to misunderstand those names. For Date, it may think you mean today
(the system date), and for Name it may think you mean the name of the form
(instead of the contents of the Name control.) It would be better to avoid
those names, and also the ones in this list:
http://allenbrowne.com/AppIssueBadWord.html