B
Bellyjeans
Hi everybody,
I have a piece of code on the On Current event of a form, that goes as
so:
If Me.cboRank = "Assistant Professor" Or "Associate Professor" Then
me.chkTenureTrack.Visible = True
me.chkMedicalTrack.Visible = True
Else
me.chkTenureTrack.Visible = False
me.chkMedicalTrack.Visible = False
End If
It's a pretty simple piece of code that's worked for me in the past.
cboRank is associated with a text field in the underlying table, and
the two check boxes are associated with two yes/no fields in the
table. I've stepped through all the code and for some reason the
first line of it is popping up an Error 13 - Type Mismatch error
message. Can anybody help me with this?
Thanks!
I have a piece of code on the On Current event of a form, that goes as
so:
If Me.cboRank = "Assistant Professor" Or "Associate Professor" Then
me.chkTenureTrack.Visible = True
me.chkMedicalTrack.Visible = True
Else
me.chkTenureTrack.Visible = False
me.chkMedicalTrack.Visible = False
End If
It's a pretty simple piece of code that's worked for me in the past.
cboRank is associated with a text field in the underlying table, and
the two check boxes are associated with two yes/no fields in the
table. I've stepped through all the code and for some reason the
first line of it is popping up an Error 13 - Type Mismatch error
message. Can anybody help me with this?
Thanks!