Hi,
On the form there are 15 fields and a custom "SAVE" button for which the OnClick Event checks various things before storing the record.
There are 3 specific [textbox] fields which must not be duplicated in the table
For example:
PK=personnel_id
Field1: John
Field2: Doe
Field3: Logistics
(For my purposes), there can never be another record where these 3 fields matches an existing record.
I would like to add code to the OnClick Event that will check for this "duplicate".
Then I can Msgbox the user to do what ever is needed in such a case.
Any help is appreciated.
Thank you kindly.
Jamie.
On the form there are 15 fields and a custom "SAVE" button for which the OnClick Event checks various things before storing the record.
There are 3 specific [textbox] fields which must not be duplicated in the table
For example:
PK=personnel_id
Field1: John
Field2: Doe
Field3: Logistics
(For my purposes), there can never be another record where these 3 fields matches an existing record.
I would like to add code to the OnClick Event that will check for this "duplicate".
Then I can Msgbox the user to do what ever is needed in such a case.
Any help is appreciated.
Thank you kindly.
Jamie.