Filter by form using command buttons

S

SAC

WOW! Thanks!

Rosco said:
For your filter by form
Create a command button
In the On_Click event:

DoCmd.RunCommand acCmdFilterByForm

For your unapply filter button
Create a command button
In the On Click event:
DoCmd.RunCommand acCmdRemoveFilterSort
DoCmd.RunCommand acCmdFilterByForm

See the "RunCommand Method Constants" section of the Access help files for other commands

Rosco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top