B
Brian
The following code opens a second date box when
required, but when I move to the next record, the box is
still visible. Obviously I would like it to be closed.
What do I add to the code?
Any help gratefully accepted!
Thanks
Brian
Private Sub Attended_AfterUpdate()
If Attended = "Rebooked" Then
seconddate.Visible = True
ElseIf Attended = "DNA" Then
seconddate.Visible = True
Else
seconddate.Visible = False
End If
End Sub
required, but when I move to the next record, the box is
still visible. Obviously I would like it to be closed.
What do I add to the code?
Any help gratefully accepted!
Thanks
Brian
Private Sub Attended_AfterUpdate()
If Attended = "Rebooked" Then
seconddate.Visible = True
ElseIf Attended = "DNA" Then
seconddate.Visible = True
Else
seconddate.Visible = False
End If
End Sub