I think this an easy one for you experts I Have a Txt Box [Box1] if this txt box shows "Yes" then I want to show [Box2] if it shows "No" I want to hide [Box2}
I think this an easy one for you experts I Have a Txt Box [Box1] if this txt box shows "Yes" then I want to show [Box2] if it shows "No" I want to hide [Box2}
FYI I entered the following code in Box2 Private Sub Box1_Enter()
If Box1= "Yes" Then
Box2.Visible = True
Else
Box2.Visible = False
End If
End Sub
Try:Needs to be in the After Update event of Box1. You may need it in the On Current event of the form too.Code:If Me.Box1= "Yes" Then Me.Box2.Visible = True Else Me.Box2.Visible = False End If
If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
Bob Fitzpatrick
Perfect Thank you Bob