Now u don't see now u do? (1 Viewer)

ian_ok

Registered User.
Local time
Today, 22:02
Joined
May 1, 2001
Messages
90
I need to hide a bound text box until a combo box option is picked, how can this be done?

Ian
 

Jack Cowley

Registered User.
Local time
Today, 22:02
Joined
Aug 7, 2000
Messages
2,639
Set the bound field Visible property to No. In the After Update event of the Combo box put code similar to this:

If Me.ComboBox = "OptionYouWant" Then
Me.BoundTextBox.Visible = True
Else
Me.BoundTextBox.Visible = False
End If

Be sure the option you want in the Combo box is the bound column or you will need to refer to the correct 'column' in the code above....
 

Users who are viewing this thread

Top Bottom