How can I examine an error code from ODBC and Oracle
using VBA?

if I use form_error, I can trap the error but dataerr gives me the code 7786 for different errors.