Filter by form using command buttons

  • Thread starter Thread starter SAC
  • Start date Start date
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
 
Back
Top