G
google3luo359
Hello, I have a set-password form working quite nicely.
I need to make one adjustment however and could use a bit of help.
Each user initially will have a blank in their password field (main
table). They will have the option of not using a password to work on a
data entry form or to use a set-password form to choose their own
password.
The set-password form is set up to check for various errors such as not
filling in the new password, or the re-typed new password, or leaving
the old password field blank.
This works fine for when passwords have been set and a change is
desired.
But for the first time, when there is a blank in the main table's
password field, the 'old password' error-checking will not allow the
user to set a password because it will return an error saying "please
enter Old Password".
So I need code/query to check if the password field in the main table
is blank, and if it is, to skip the 'old password' error-checking part
of the VB code.
I hope I made this clear. TIA
Ric
I need to make one adjustment however and could use a bit of help.
Each user initially will have a blank in their password field (main
table). They will have the option of not using a password to work on a
data entry form or to use a set-password form to choose their own
password.
The set-password form is set up to check for various errors such as not
filling in the new password, or the re-typed new password, or leaving
the old password field blank.
This works fine for when passwords have been set and a change is
desired.
But for the first time, when there is a blank in the main table's
password field, the 'old password' error-checking will not allow the
user to set a password because it will return an error saying "please
enter Old Password".
So I need code/query to check if the password field in the main table
is blank, and if it is, to skip the 'old password' error-checking part
of the VB code.
I hope I made this clear. TIA
Ric