Filter by Form VB Code

G

Guest

I have an application where I need to disable the toolbars with the exception
of Filter by Form.

I've created a command button with 'on click' value set to

DoCmd.RunCommand acCmdFilterByForm

and that seems to work fine, but I can't figure out how to apply the filter
as all other controls on the form are disabled.

Any Ideas? - Thanks
 
R

Rick Brandt

TC said:
I have an application where I need to disable the toolbars with the
exception of Filter by Form.

I've created a command button with 'on click' value set to

DoCmd.RunCommand acCmdFilterByForm

and that seems to work fine, but I can't figure out how to apply the
filter as all other controls on the form are disabled.

Any Ideas? - Thanks

You need a custom menu or toolbar. The form you see when in FilterByForm mode
is not really your form anymore and you cannot out a button on it that can be
used while in that mode.
 

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

Similar Threads


Top