SUMMARY
The following is a list of reserved error codes that may be returned by the
new Microsoft Access version 2.0 Jet engine that Visual Basic can now use
if you have installed the Jet 2.0/Visual Basic 3.0 Compatibility Layer.
The reserved error numbers listed here are not Visual Basic error codes.
They are unmapped Jet 2.0 errors that are exposed only as "Reserved Errors"
in Visual Basic. In a future version of Visual Basic, many of these Jet 2.0
errors will be mapped to Visual Basic error codes.
Because these reserved error numbers are subject to change, developers
should not rely on them being the same and should be ready to update the
error-trapping routines when the next version of Visual Basic is released.
With each of the Jet version 2.0 error numbers listed below, you'll find a
brief error string that appears when the error is viewed in Microsoft
Access version 2.0. Only the message "Reserved Error" appears when the same
error appears in Visual Basic.
When an error from the Jet 2.0 engine occurs, calling the ERR statement
will return 3000 for the error number. You can get the actual reserved
error by looking at the results returned by ERROR$.
NOTE: There are pipe characters (|) throughout these strings that act as
placeholders for context information such as column names, table names, and
so forth that would be filled in at the time of the error.
In the Microsoft Access Online Help file, use the following steps to find
more detailed information about each of the error strings and what they
mean when applied to Microsoft Access:
- Choose Help from the Microsoft Access main menu.
- Choose Search, and search for this topic:
error messages: reference
- Select that topic.
Now you can search for specific error strings alphabetically.