dominicdunmow
Technical User
I have a form with fields named "Product Category" and "Geography" amongst others.
There is a FiletrBySelection command button sot he form can filter by either of these 2 fields.
I also have a subform which is linked parent/child by the "Geography" field - this essentially filters the subform by "Geography".
What I'd like to do is filter the subform by which ever of the 2 fields has been used by the FilterBySelection.
Would it be best to somehow add the FilterBySelection criteria to the criteria of the underlying query behind the subform? Or can is it somehow possible to change the parent/child link according to the FilterBySelection?
Thanks