I have a form bound to a query. When the user enters the last name, it runs an after update event that checks for duplicates in the table.
It returns the records information to ensure that it really is a duplicate. If the user clicks Yes that it is a duplicate, then the event triggers the Undo command.
But this simply clears the record. The user is still in the new record, so when the user leaves, the form will add a blank record to the table.
Is there another command I should be using instead of the Undo?
It returns the records information to ensure that it really is a duplicate. If the user clicks Yes that it is a duplicate, then the event triggers the Undo command.
But this simply clears the record. The user is still in the new record, so when the user leaves, the form will add a blank record to the table.
Is there another command I should be using instead of the Undo?