check for duplicates before saving record in Access 2010 -
in saving data form, want check duplicate email , password. if email , password in table, prompt message. tried many control event events not fired; nothing happened. maybe code wrong, please , guide me how check duplicate email , password.
thanks.
it considered practice define validations , constraints @ table level whenever possible. in doing ensure restrictions enforced no matter how data added or updated (e.g., via import, append query, etc.) , don't have remember add validation rule(s) every form build.
in case "check duplicate email , password" defining unique index on table. table open in design view click "indexes" button on "design" tab of ribbon...
...and define unique index on [password] , [email] fields:
Comments
Post a Comment