G
Guest
I have written an application with an Access front end to an Oracle Database.
All security and data validation is in the Oracle database, including
user-defined error messages. These error messages are returned as ODBC--
linked failed and, when occurring in a VBA module, the specific
Oracle-generated message may be retrieved from
dbEngine.errors(0).description. However when I try to access the error
message in dbEngine errors while in the forms.Errors event, it is not there.
I would very much like to capture it so that I can extract the meaningful
portion using mid, left and right and display it as a user-friendly message.
I know it is preserved somewhere in Access because, unless you make response
= acDataErrContinue, it displays in Access's own error message box after
form_error completes. Is there any way I can retrieve this message during
the forms_Errors event?
sjl
All security and data validation is in the Oracle database, including
user-defined error messages. These error messages are returned as ODBC--
linked failed and, when occurring in a VBA module, the specific
Oracle-generated message may be retrieved from
dbEngine.errors(0).description. However when I try to access the error
message in dbEngine errors while in the forms.Errors event, it is not there.
I would very much like to capture it so that I can extract the meaningful
portion using mid, left and right and display it as a user-friendly message.
I know it is preserved somewhere in Access because, unless you make response
= acDataErrContinue, it displays in Access's own error message box after
form_error completes. Is there any way I can retrieve this message during
the forms_Errors event?
sjl