Hi can anyone see what i am doing wrong with this code?
Private Sub Form_Load()
If Me.List19 = "John Hems" Then
Command11.Visible = True
Command7.Visible = False
Else
Command11.Visible = False
Command7.Visible = True
End If
End Sub
I want command11 visible if John Hems is in list19 and command7 visible at all other times
thanks
Private Sub Form_Load()
If Me.List19 = "John Hems" Then
Command11.Visible = True
Command7.Visible = False
Else
Command11.Visible = False
Command7.Visible = True
End If
End Sub
I want command11 visible if John Hems is in list19 and command7 visible at all other times
thanks