Hi guys, I was wondering if it is possible to use vba code to program a button so i can use formfilter by pressing a button.
Now, this is not the problem, I use
docmd.runCommand adCmdFormFilter
and it works fine. But then I also need a button to apply the filter.
But the problem is when you use a formfilter, buttons are automaticly disabeled, so i can't press the applyfilter button....


(docmd.runCommand adCmdApplyFilter)
Any Ideas...I really wanted to use buttons instead of the menubar .... :/
Now, this is not the problem, I use
docmd.runCommand adCmdFormFilter
and it works fine. But then I also need a button to apply the filter.
But the problem is when you use a formfilter, buttons are automaticly disabeled, so i can't press the applyfilter button....



(docmd.runCommand adCmdApplyFilter)
Any Ideas...I really wanted to use buttons instead of the menubar .... :/