Passsword confimation

daveee143

Registered User.
Local time
Today, 14:53
Joined
Apr 30, 2011
Messages
24
I've write a code in access using vb to verify that when a user input a record to password 2 it must confirm the same as password 1, but the problem is when i input a password in password 1, then click password 2 there already a password which is not the logical idea of writing a new password.

Here the code

If Me.Password2 = Me.Password Then
DoCmd.Close acForm, "NewUsers", acSaveYes
DoCmd.OpenForm "Login"
Else
MsgBox "Invalid Password", vbOKOnly, "Retype Password"
Me.Password2.SetFocus
End If

just like creating a new account. gusy help me in here.
 

Users who are viewing this thread

Back
Top Bottom