I'm very new to Access programming, so pardon my ignorance! I "borrowed" some code to make a log in form work and it seemed to run okay until it got to the following:
If Me.txtPassword.Value = DLookup("Emp_Pass", "tblEmployeeRoster", _
"[Emp_ID]=" & Me.cboIdentity.Value) Then
The error message I got was, "Run-time error '3464': Data type mismatch in criteria expression." [Emp_ID] is formatted as a text field. Emp_Pass is formatted as text.
I've spent nearly 2 hours trying to fix the problem to no avail.Thought I would give this forum a try (my very first time). Any help/clues would be greatly appreciated!