K
Kirstie Adam
All,
I have a client info form, and the customers name is entered into two
fields, [FirstName] and [Surname].
I also have a expression [Title]&" "&[FirstName]&" "&[LastName] and the top
of the form to show their complete name, eg. "Miss Jemima Lane".
However, we have been getting lots of duplicates entered, some of them
intentionally (some clients have the same name) and some of them not
(putting the same client in twice)
The only solution i can think of for this is to pop up a msg box saying
"There is already a client with this name. Do you wish to continue?" after
the last name has been entered, then if the person says ok, they cary on
filling out the form, and if they cancel, it cancels out that record.
Can someone help me with the code for this?
Also, if anyone knows of a better way of avoiding these unintentional
duplicates, i would love to know.
Thanks,
Kirstie
I have a client info form, and the customers name is entered into two
fields, [FirstName] and [Surname].
I also have a expression [Title]&" "&[FirstName]&" "&[LastName] and the top
of the form to show their complete name, eg. "Miss Jemima Lane".
However, we have been getting lots of duplicates entered, some of them
intentionally (some clients have the same name) and some of them not
(putting the same client in twice)
The only solution i can think of for this is to pop up a msg box saying
"There is already a client with this name. Do you wish to continue?" after
the last name has been entered, then if the person says ok, they cary on
filling out the form, and if they cancel, it cancels out that record.
Can someone help me with the code for this?
Also, if anyone knows of a better way of avoiding these unintentional
duplicates, i would love to know.
Thanks,
Kirstie