Returns a numeric value specifying an error. The Number property is the CdbError object's default property.
Syntax
LONGGetNumber(VOID);
Remarks
Use the Number property to determine the error that occurred. The value of the property corresponds to a unique trap number that corresponds to an error condition. For a complete list of all trap numbers and error conditions, see Trappable Microsoft Jet and DAO Errors.