I have my tables set up so that a client can only have one of any particular product.
My front end on Access throws up an error about a violation of the primary key when a user attempts to add the same thing for a second time. However, I want to be able to trap the error and provide a custom message and then undo.
I don't know where the current generic error message is being raised from.
Can anybody help point me in the right direction?
Thanks in advance.
Jonathan
My front end on Access throws up an error about a violation of the primary key when a user attempts to add the same thing for a second time. However, I want to be able to trap the error and provide a custom message and then undo.
I don't know where the current generic error message is being raised from.
Can anybody help point me in the right direction?
Thanks in advance.
Jonathan