I have a situation where I would like to filter a form using buttons that call two different queries. The queries have conditions that prompt the user to input search criteria. I have successfully used the queries to filter my data by using buttons for each that call the ApplyFilter property in macros. The problem is that once the first macro is run, it becomes saved with the form. Then, when I run the macro again after calling a ShowAllRecords property, the filter is applied but the user is not prompted for new search criteria. The settings for the previous filter are used. This also prevents the second macro from being run successfully.
Is there any way to prevent the filter from being saved, or perhaps a way to clear/reset it so that a new "clean" filter can be run?
Thanks.
Is there any way to prevent the filter from being saved, or perhaps a way to clear/reset it so that a new "clean" filter can be run?
Thanks.