M
Musa via AccessMonster.com
Hi,
I have the following :
Private Sub Command160_Click()
Dim blnMissingData As Boolean
If IsNull (Me.Staff_Name) And (Me.Location) And (Me.Gender) Then
Me.Command166.Enabled = False
Else
Me.Command166.Enabled = True
MsgBox "You may proceed to the next page"
Exit Sub
End If
End Sub
I get a run-time error 13 Type Mismatch, whenever I use text fields above.
The error does not occur when I remove the text fields and only have the
numeric.
Doe anyone have a way in which I may reference the text fields ?
I have the following :
Private Sub Command160_Click()
Dim blnMissingData As Boolean
If IsNull (Me.Staff_Name) And (Me.Location) And (Me.Gender) Then
Me.Command166.Enabled = False
Else
Me.Command166.Enabled = True
MsgBox "You may proceed to the next page"
Exit Sub
End If
End Sub
I get a run-time error 13 Type Mismatch, whenever I use text fields above.
The error does not occur when I remove the text fields and only have the
numeric.
Doe anyone have a way in which I may reference the text fields ?