I've written a general error trap function within a module with several error codes. I call the funtion within several forms with different arguments specific for the form.
I want to error trap referential integrity also, currently I have referential integrity enabled with only the update option. So my relations are set to required = you can't delete the record in the parent table when another table still beholds the value in the foreign key.
This is nice but the message popping up isn't nice as users won't understand it (table xx still has this value ..etc). They only see forms and not tables so they won't understand the Access-message.
If I want to error trap it per form to make the error more understandable i need the error-code of required messages but can't find it. Anybody knows the access internal error-code for this kind of message?
I want to error trap referential integrity also, currently I have referential integrity enabled with only the update option. So my relations are set to required = you can't delete the record in the parent table when another table still beholds the value in the foreign key.
This is nice but the message popping up isn't nice as users won't understand it (table xx still has this value ..etc). They only see forms and not tables so they won't understand the Access-message.
If I want to error trap it per form to make the error more understandable i need the error-code of required messages but can't find it. Anybody knows the access internal error-code for this kind of message?