Hi
I have a frmResetPassword with the following codes but don't know how to link to the correct user who requires to reset. It always resets the 1st user in the tbluser
If Me.txtPassword = Me.txtConfPW Then
MsgBox "Password updated!", vbOKOnly
Me.PWReset = False
DoCmd.Close acForm, "frmPasswordChange"
Else
MsgBox "Passwords don't match, please re-enter!", vbOKOnly
Me.txtPassword.SetFocus
End If
End Sub
My form has the following text boxes:
username
newpassword
confirmnewpassword
Please help.
Regards
Bill
I have a frmResetPassword with the following codes but don't know how to link to the correct user who requires to reset. It always resets the 1st user in the tbluser
If Me.txtPassword = Me.txtConfPW Then
MsgBox "Password updated!", vbOKOnly
Me.PWReset = False
DoCmd.Close acForm, "frmPasswordChange"
Else
MsgBox "Passwords don't match, please re-enter!", vbOKOnly
Me.txtPassword.SetFocus
End If
End Sub
My form has the following text boxes:
username
newpassword
confirmnewpassword
Please help.
Regards
Bill