J
jdtivoli
I have a table with serial number fields which I have set
as indexed in order to prevent duplicate entries.
I have created a form for data entry. When I enter data
in one of the fields which are indexed in the table, the
data is not entered (which is good) but it doesn't any of
the data from the rest of the form either. That's fine
but it doesn't tell me that it did not enter the data.
I would like to know how to create an error message that
would be displayed as a "before update" on the form field
if there is duplicate data trying to be entered for that
field.
My thoughts are: Perhaps creating a find duplicates query
with an IIF statement for the error if the query results
are not Null. But don't know how to do this either.
Please Help.
as indexed in order to prevent duplicate entries.
I have created a form for data entry. When I enter data
in one of the fields which are indexed in the table, the
data is not entered (which is good) but it doesn't any of
the data from the rest of the form either. That's fine
but it doesn't tell me that it did not enter the data.
I would like to know how to create an error message that
would be displayed as a "before update" on the form field
if there is duplicate data trying to be entered for that
field.
My thoughts are: Perhaps creating a find duplicates query
with an IIF statement for the error if the query results
are not Null. But don't know how to do this either.
Please Help.