Here is the code. Sorry...I still don't see where the issue is. I am relatively new to VBA.
Private Sub cmdDBLogin_Click()
If Len(Me.cmbdbUserName & vbNullString) = 0 Then
MsgBox "You cannot leave the UserName field empty, please try again.", vbCritical
Exit Sub
End Sub...