Hi all,
Can someone please examine the code
I got this code from a youtube video, i can't figure out what is wrong, it is working in the youtube video.
If IsNull(DLookup("userID", "tbluser", "username = '" & Me.txtUserName & "' and password = '" & Me.txtPAssword & "'")) Then
When run the above code, i got this error message "Run-time error '2471' - The expression you entered as a query parameter produced this error: 'password'.
Username = text
Password=number
Thanks you.
Can someone please examine the code
I got this code from a youtube video, i can't figure out what is wrong, it is working in the youtube video.
If IsNull(DLookup("userID", "tbluser", "username = '" & Me.txtUserName & "' and password = '" & Me.txtPAssword & "'")) Then
When run the above code, i got this error message "Run-time error '2471' - The expression you entered as a query parameter produced this error: 'password'.
Username = text
Password=number
Thanks you.