No blank in unbound text box

L

Lostguy

Hello!

I have a form with an unbound text box, and then a button. You select
from the dropdown (which gets its list from a query) and then push the
button. What I don't want is when the form opens, and the textbox is
blank, for the button to be pushable. So the user has to select
something from the list first.

Any ideas?

Thanks!

VR/Lost
 
J

John W. Vinson

Hello!

I have a form with an unbound text box, and then a button. You select
from the dropdown (which gets its list from a query) and then push the
button. What I don't want is when the form opens, and the textbox is
blank, for the button to be pushable. So the user has to select
something from the list first.

Any ideas?

Thanks!

VR/Lost

Set the button's Enabled property to False in the form's Current event, and to
True in the AfterUpdate event of the combo box (you say "textbox" and
"dropdown", so I'm guessing you meant combo box not textbox).
 

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