Filtering a subform

Wildster

New member
Local time
Today, 23:45
Joined
Jun 4, 2008
Messages
43
Hi,

I'm trying to filer a subform so that whatever date appears within the text box tDate which is in the master form, only returns fields within the child form where the field tWeek matches the same value.

Is there a way of doing this?

Thanks
 
I would use a query for the record source of the subform and place filter criteria on the date referring to the value on your form.

=Forms!YourFormname!YourControlname
 
Thanks for the quick response. If I used a query for the subform would this stop me from entering data within the subform?

I'm guessing it would as the text boxes would then become unbound in the subform. I need to still be able to input data into the DB via the subform. Is there a way of doing it like this?

Thanks
 
A query is a recordset and if it is from one table only then it is updatable. - experiment
 
Didn't know you could edit a query, thanks very much that solves my problem. :D
 

Users who are viewing this thread

Back
Top Bottom