Ahh, that was it. I put the Table name instead of the field name. Thanks so much. But now I'm getting a syntax error with the DLookup?
If Getpass = DLookup("[Password]", "Managers", "Last Name = '" & Me.cboManager & "'") Then
Hi,
I'm trying to require a password using an input box in order to enter a form. I have a table listing the managers and passwords. I've pieced together some code. The problem is that it will only open for one manager. Any help is greatly appreciated.
Private Sub...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.