View Full Version : Now u don't see now u do?


ian_ok
06-05-2001, 07:07 AM
I need to hide a bound text box until a combo box option is picked, how can this be done?

Ian

Jack Cowley
06-05-2001, 07:26 AM
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....