R
Richardson
I have a form based on a single table, tblMembers, with the primary key of
MemberID. This is an alphanumeric id number assigned manually. There is a
possibility that the person doing data input will attempt to create
duplicate ID numbers. Does anyone have a suggestion for code that I can
have run when the id field is updated that will check if that id exists, and
prompt the user to create a new id? It would be good if I could also
display some information about the entry that exists so that they can
determine if they are re-entering the same person, or a different person
with the same id number.
I need this so that they do not encounter the duplicate primary key error
when they try to leave the form.
Thanks in advance for your help.
Lori
MemberID. This is an alphanumeric id number assigned manually. There is a
possibility that the person doing data input will attempt to create
duplicate ID numbers. Does anyone have a suggestion for code that I can
have run when the id field is updated that will check if that id exists, and
prompt the user to create a new id? It would be good if I could also
display some information about the entry that exists so that they can
determine if they are re-entering the same person, or a different person
with the same id number.
I need this so that they do not encounter the duplicate primary key error
when they try to leave the form.
Thanks in advance for your help.
Lori