One of my forms contains a checkbox signifying that Worker Orientation Mtgs have been scheduled. If a user selects it I'd like a label and 3 txt boxes (whose Visible properties are all set to No) to become visible.
I created this code in the AfterUpdate event of the check box, but the 4 objects are not becoming visible when the check box is selected. What have I done wrong?
<code>
Private Sub ckWOM_AfterUpdate()
If yes Then
Me.lblMtgDates.Visible = True
Me.txtEmplOrMtg1.Visible = True
Me.txtEmplOrMtg2.Visible = True
Me.txtEmplOrMtg3.Visible = True
Else
End If
End Sub
<code>
I created this code in the AfterUpdate event of the check box, but the 4 objects are not becoming visible when the check box is selected. What have I done wrong?
<code>
Private Sub ckWOM_AfterUpdate()
If yes Then
Me.lblMtgDates.Visible = True
Me.txtEmplOrMtg1.Visible = True
Me.txtEmplOrMtg2.Visible = True
Me.txtEmplOrMtg3.Visible = True
Else
End If
End Sub
<code>