Hello
On my access 2007 form I have a button for filtering my data (macro > applyfilter > query for filtering)
Each time I push this button the filter is copied in the property sheet for the form in the filter section. The ‘filter on load’ and the ‘allow filter’ property is set to No.
How can I avoid that the filter is copied to my form. My form is not based on this query only the button.
In access 2003 I didn’t have this problem.
With adding ‘requery ‘ in my macro the button works fine (but the first time after opening my DB it is quering twice instead of once) If I remove the ‘requery’ from my macro the button didn’t work. Only the filter status changes from unfiltered to filtered and the ‘toggle filter’ button is highlighted.
Thanks in advance for your advice
Kind regards
Al
On my access 2007 form I have a button for filtering my data (macro > applyfilter > query for filtering)
Each time I push this button the filter is copied in the property sheet for the form in the filter section. The ‘filter on load’ and the ‘allow filter’ property is set to No.
How can I avoid that the filter is copied to my form. My form is not based on this query only the button.
In access 2003 I didn’t have this problem.
With adding ‘requery ‘ in my macro the button works fine (but the first time after opening my DB it is quering twice instead of once) If I remove the ‘requery’ from my macro the button didn’t work. Only the filter status changes from unfiltered to filtered and the ‘toggle filter’ button is highlighted.
Thanks in advance for your advice
Kind regards
Al