D
Deleted member 8621
Guest
I want a log in when administrative functions are needed. I created a table with user info. I can find the users password but It isn't recognizing the text case (upper / lower). I have tried docmd.findrecord but that seems to want use the record. All I want to do is verify the password is correct to include case. (I'm just testing to see if I am getting the right values with my MsgBoxs.) Here is my code.
Dim psw As String
psw = InputBox("Enter Password.", "Password Protected!!")
Set rst = CurrentDb.OpenRecordset("tblAdmin")
Do
If psw = rst.Password Then MsgBox "Wow"
MsgBox rst.password
rst.MoveNext
Loop Until rst.EOF = True
Thanks
matthew
Dim psw As String
psw = InputBox("Enter Password.", "Password Protected!!")
Set rst = CurrentDb.OpenRecordset("tblAdmin")
Do
If psw = rst.Password Then MsgBox "Wow"
MsgBox rst.password
rst.MoveNext
Loop Until rst.EOF = True
Thanks
matthew
Last edited by a moderator: