I am trying to see if a field on a form has the same value as a field in a particular table. The field in the table is indexed unique and Access provides messages that the field is a duplicate, but I need to trap the error and inform the user that they entered a duplicate value.
I had a routine which worked under Access 97 which ran a query and made a record in a work table if the value was in the master table, counted the number of rows and either displayed a message and exited or went on with the processing.
There is probably a better way to do this.
I appreciate any suggestions.
Larry
I had a routine which worked under Access 97 which ran a query and made a record in a work table if the value was in the master table, counted the number of rows and either displayed a message and exited or went on with the processing.
There is probably a better way to do this.
I appreciate any suggestions.
Larry