hi,
I want to use a button to set a filter-by-form so my users can set a filter and find the record they want. I have this code:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 0, 0, acMenuVer70
in the button properties. the only problem is, when i do this, all the control buttons grey out and i can't click the "apply filter" button! i have to click "filter-apply filter/sort" in the menu bar. is there any way to un-grey the button? ideally, i'd like to have a "edit filter" button, that, when pressed, greys out all buttons except for "apply filter" and "clear filter"...
any ideas?
I want to use a button to set a filter-by-form so my users can set a filter and find the record they want. I have this code:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 0, 0, acMenuVer70
in the button properties. the only problem is, when i do this, all the control buttons grey out and i can't click the "apply filter" button! i have to click "filter-apply filter/sort" in the menu bar. is there any way to un-grey the button? ideally, i'd like to have a "edit filter" button, that, when pressed, greys out all buttons except for "apply filter" and "clear filter"...
any ideas?