Keeping a Button Enabled

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

When I apply this command from a Command Button

acCmdFilterByForm

All of my buttons become disabled. I tried keepig a Button enabled by
adding this code
Me.Button.Enabled=True
But this doen't work, any suggestions?
Thanks
DS
 
If you use Filter-By-Form, all CommandButtons on the Filter Form will be
disabled until you get back to your normal Form.
 
Van said:
If you use Filter-By-Form, all CommandButtons on the Filter Form will be
disabled until you get back to your normal Form.
Right, But how can I Overide or sidestep this, I need to get the apply
filter command going without the toolbar.
Thanks
DS
 
I think the Filter Form created by the acCmdFilterByForm is *another* Form
overlaid on top of your original Form. You get what Access has been
programmed to do.

If you want to do anything different, you need to create your own Form as a
filter Form.
 
Van said:
I think the Filter Form created by the acCmdFilterByForm is *another* Form
overlaid on top of your original Form. You get what Access has been
programmed to do.

If you want to do anything different, you need to create your own Form as a
filter Form.

That helps...maybe I'll try to emulate it. Do you know where these
forms live and if they can be accessed and changed.
Thanks
DS
 
DS said:
That helps...maybe I'll try to emulate it. Do you know where these
forms live and if they can be accessed and changed.
Thanks
DS
Actually, I did just that, I copied my first form, dimmed out some of
the buttons, changed text on a few ohers and made all of the fields
unbound. Now I'll do the code to find the info. This will give me
exactly what I wanted...a filter by form, that looks great! Tank you.
DS
 

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

Back
Top