9/22/2023 0 Comments Ms access runtime error 5 stringWith syntax as shown above, I receive error message (items inside braces are verbatim). For explanation purposes only, let's say value of "cboUserName" is "Davis". I am attempting to compare value of "txtPassword" to a cell "Password" in table "Employees" where "EmpName" is equal to value of "cboUserName". On same form users enter a password into text box "txtPassword". "cboUserName" is a combo box on form "DatabaseLogin". If Me.txtPassword.Value = strPassword ThenĭoCmd.Close acForm, "DatabaseLogin", acSaveNo StrPassword = DLookup("Password", "Employees", "EmpName ='" & UserName) Code excerpt is below (you can see where I've tried debugging myself). ![]() I am running Access 2003, VB 6.5, Office XP Pro. ![]() ![]() I've seen many similar threads, but despite repeated efforts I cannot figure out my problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |