K
KLR
I have placed the following code in the forms Current event and also
the Visit/report type control AfterUpdate event. It works as required
but then doesn't allow me to enter any data in the Event Name or
Institution field. Any ideas why?
Private Sub Form_Current()
If Me.[Visit/report type] = "External meeting" Then
Me.Institution.Visible = False
Me.Label10.Visible = False
Me.Event_Name.Visible = True
Me.Label22.Visible = True
Else
Me.Institution.Visible = True
Me.Label10.Visible = True
Me.Event_Name.Visible = False
Me.Label22.Visible = False
End If
End Sub
the Visit/report type control AfterUpdate event. It works as required
but then doesn't allow me to enter any data in the Event Name or
Institution field. Any ideas why?
Private Sub Form_Current()
If Me.[Visit/report type] = "External meeting" Then
Me.Institution.Visible = False
Me.Label10.Visible = False
Me.Event_Name.Visible = True
Me.Label22.Visible = True
Else
Me.Institution.Visible = True
Me.Label10.Visible = True
Me.Event_Name.Visible = False
Me.Label22.Visible = False
End If
End Sub