My DB doesn't like this line of code, why?
If Me.txtpassword = Nz(DLookup("LecturerPassword", "user_tbl", "[LecturerLoginID] = " & Chr(34) & Me.txtuser & Chr(34)), "")
it has a problem with the [LecturerLoginID], I'm not a coder so I apologise if this is a simple problem.
If Me.txtpassword = Nz(DLookup("LecturerPassword", "user_tbl", "[LecturerLoginID] = " & Chr(34) & Me.txtuser & Chr(34)), "")
it has a problem with the [LecturerLoginID], I'm not a coder so I apologise if this is a simple problem.