Can anyone else add to this problem?
The code I have is...
It is referring to the ID number "2".
I need it to be visible if cboSchool = "2" Or "3" Or "5", but the Or doesn't work.
Can someone offer something?
The code I have is...
Code:
Private Sub cboSchool_AfterUpdate()
If Me.cboSchool = "2" Then
Me.txtSchool.Visible = True
Else
Me.txtSchool.Visible = False
Me.txtSchool.Value = Null
End If
End Sub
It is referring to the ID number "2".
I need it to be visible if cboSchool = "2" Or "3" Or "5", but the Or doesn't work.
Can someone offer something?