P
Paul Avery
I have a form in which I put command buttons in the header for search so that
I can display the form for the user without displaying any tool bars. The
first button, titled "Define Search," calls a FilterByForm macro. The second
button, titled "Apply Search" calls an ApplyFilter macro. The third, titled
"Reset" calls a RemoveFilter macro. When I click the "Define Search" button
the form sets for entry of the search values but disables all the command
buttons at the same time so that after entering the search values I cannot
activate the "Apply Search" button. I have to go to the ApplyFilter button in
the tool bar to continue the search process. After that, the "Reset" button
works fine.
How can I ApplyFilter from a command button in the form?
I can display the form for the user without displaying any tool bars. The
first button, titled "Define Search," calls a FilterByForm macro. The second
button, titled "Apply Search" calls an ApplyFilter macro. The third, titled
"Reset" calls a RemoveFilter macro. When I click the "Define Search" button
the form sets for entry of the search values but disables all the command
buttons at the same time so that after entering the search values I cannot
activate the "Apply Search" button. I have to go to the ApplyFilter button in
the tool bar to continue the search process. After that, the "Reset" button
works fine.
How can I ApplyFilter from a command button in the form?