I may be about to surrender on this...I've asked in other forums and am not getting the answer I thought I'd get.
I'm creating an Access database that I ultimately want to compile into a stand-alone app. As part of this, I have a dashboard that opens when the database is opened, with various buttons to perform various tasks, most of which involve going to one part of the database or another. My primary table has 32 fields, and will ultimately have over a thousand records. Because any of the fields and any combination of them may need to be used for search criteria, I have set the button on the dashboard that allows one to search for a record and the one to edit a record to open their corresponding forms in Filter by Form mode. This works really well...the forms open just like I want, allowing users to type information into any control, and upon clicking Toggle Filters in the Home ribbon, exactly the subset of records being sought materialize as if by magic.
The challenge is this: I want to add a button to the form that runs the Toggle Filters process, so that I can make my app not have any of the Access ribbons in it. Unfortunately, when the form opens in Filter by Form mode, all buttons are greyed out and deactivated. On another help forum I posted this question and had someone say that it related to focus, but in spite of repeated questioning no one has been forthcoming there as to what commands are necessary to return the focus so that the button can be clicked. I need to know what the code is that I need to enter and where to enter it (i.e., in the Find Record button's On Click event or in the form's On Filter event).
Thank you in advance for any and all assistance.