Hello! I have a list box with the values of Yes, No, and Unknown.
If the user selects 'Yes' from the list box, 2 text boxes below should become visible, prompting the user for the date and time. If they choose No or Unknown, the text boxes should remain invisible. I've figured out how to do this based on a check box (using the below code)
Private Sub Check6_Click()
If Check6.Value = True Then
Text2.Visible = True
Text4.Visible = True
Else
Text2.Visible = False
Text4.Visible = False
End If
End Sub
I can't figure out how to do this with a list box. Any help is greatly appreciated!
I'm using Access 2003.
Thanks!
CJ
If the user selects 'Yes' from the list box, 2 text boxes below should become visible, prompting the user for the date and time. If they choose No or Unknown, the text boxes should remain invisible. I've figured out how to do this based on a check box (using the below code)
Private Sub Check6_Click()
If Check6.Value = True Then
Text2.Visible = True
Text4.Visible = True
Else
Text2.Visible = False
Text4.Visible = False
End If
End Sub
I can't figure out how to do this with a list box. Any help is greatly appreciated!
I'm using Access 2003.
Thanks!
CJ