Runtime Error 13 Type mismatch

CharlesWhiteman

Registered User.
Local time
Today, 21:16
Joined
Feb 26, 2007
Messages
421
I'm using the following code to check to see if any of the referenced text boxes are blank but i get the aforementioned error.

Code:
If IsNull(Me.UserName) Or (Me.MailUserName) Or (Me.MailPassword) Then
MsgBox "There is a null"
Else
End If
 
Charles,

Code:
If IsNull(Me.UserName) Or IsNull(Me.MailUserName) Or IsNull(Me.MailPassword) Then
   MsgBox "There is a null"
End If

Wayne
 
Many thanks for the reply. That works a treat!
 

Users who are viewing this thread

Back
Top Bottom