text field visible=True after specific selection in combobox

SoxPats83

Registered User.
Local time
Today, 07:51
Joined
May 7, 2010
Messages
196
i have a combobox on one of my forms and i would like to have a specific invisible text field become visible, only if a specific selection is made in this combobox. for example, i have text field labeled "tst1" on my form and on load it is set to visible=false. and within my combobox there are many selections, one of which is USA. if USA is selected i would like "txt1" to be visible=true.

any thoughts?
 
I would think that you should have this by now (quite similar to other posts you've had).

In the After Update event of the combo box you would use something like:

Me.txt1.Visible = (Me.YourComboBoxNameHere = "USA")


And then call the After Update event in the form's On Current event too.
 

Users who are viewing this thread

Back
Top Bottom