hi,
Quick question:
I have the following piece of code for my login form:
If Me.txtPassword.Value = DLookup("strUserPassword", "tblUsers", "[UserID]=" & Me.cboUserName.Value) Then
lngMyUserID = Me.cboUserName.Value
This code works great for the login form (with the username as a combo box). However, I changed the combo box for the username into a textbox.
After I changed it though, I got this error:
"Object doesn't contain automation object" & username
Anyone know why and how do I fix this? Please?
Thank you very much.
Quick question:
I have the following piece of code for my login form:
If Me.txtPassword.Value = DLookup("strUserPassword", "tblUsers", "[UserID]=" & Me.cboUserName.Value) Then
lngMyUserID = Me.cboUserName.Value
This code works great for the login form (with the username as a combo box). However, I changed the combo box for the username into a textbox.
After I changed it though, I got this error:
"Object doesn't contain automation object" & username
Anyone know why and how do I fix this? Please?
Thank you very much.