After much googling I have found 2 ways to create a dynamic search form which works for me.
In the first method the search box on the main form updates a hidden text box on the main form which is then used in a parameter query to fill the sub form. In the second method the code behind the search box is used to create a filter and then the sub form is filtered.
Both methods work as I want them to but I wondered if there was any advantage or disadvantage to either method?
Thank you
In the first method the search box on the main form updates a hidden text box on the main form which is then used in a parameter query to fill the sub form. In the second method the code behind the search box is used to create a filter and then the sub form is filtered.
Both methods work as I want them to but I wondered if there was any advantage or disadvantage to either method?
Thank you