Hello,
I have a database that when started, "Login" form opens and users select their username from a combobox and then type their password in the next field, and if both match with stored table data then login form closes and another form opens called "Main".
This new form has a command button called "Change Password" and when users click it a popup form opens called "Change Password". It contains three unbound fields, "Current Password" "New Password" "Confirm Password". Users type in their current pword, a new pword and confirm their new pword. Next they click OK to update.
Now here's the problem...
when users click OK to update pword, I want to compare the current pword with what is stored in the table "Users". It will only compare with first record in table, not compare all records.
How can I get it to compare to all pwords stored in table and not just first one?
Any help would be appreciated...
I have a database that when started, "Login" form opens and users select their username from a combobox and then type their password in the next field, and if both match with stored table data then login form closes and another form opens called "Main".
This new form has a command button called "Change Password" and when users click it a popup form opens called "Change Password". It contains three unbound fields, "Current Password" "New Password" "Confirm Password". Users type in their current pword, a new pword and confirm their new pword. Next they click OK to update.
Now here's the problem...
when users click OK to update pword, I want to compare the current pword with what is stored in the table "Users". It will only compare with first record in table, not compare all records.
How can I get it to compare to all pwords stored in table and not just first one?
Any help would be appreciated...