The AdoException class contains the fields shown in the following table.
Constant | Value | Description |
adErrInvalidArgument | 3001 | Indicates that the application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. |
adErrNoCurrentRecord | 3021 | Indicates that either BOF or EOF is True, or the current record has been deleted. The operation requested by the application requires a current record. |
adErrIllegalOperation | 3219 | Indicates that the operation requested by the application is not allowed in this context. |
adErrInTransaction | 3246 | Indicates that the application cannot explicitly close a Connection object while in the middle of a transaction. |
adErrFeatureNotAvailable | 3251 | Indicates that the operation requested by the application is not supported by the provider. |
adErrItemNotFound | 3265 | Indicates that ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application. |
adErrObjectInCollection | 3367 | Indicates that the object is already in the collection and cannot be appended. |
adErrObjectNotSet | 3420 | Indicates that the object referenced by the application no longer points to a valid object. |
adErrDataConversion | 3421 | Indicates that the application is using a value of the wrong type for the current operation. |
adErrObjectClosed | 3704 | Indicates that the operation requested by the application is not allowed if the object is closed. |
adErrObjectOpen | 3705 | Indicates that the operation requested by the application is not allowed if the object is open. |
adErrProviderNotFound | 3706 | Indicates that ADO could not find the specified provider. |
adErrBoundToCommand | 3707 | Indicates that the application cannot change the getActiveConnection property of a Recordset object with a Command object as its source. |
adErrInvalidParamInfo | 3708 | Indicates that the application has improperly defined a Parameter object. |
adErrInvalidConnection | 3709 | Indicates that the application requested an operation on an object with a reference to a closed or invalid Connection object. |
adErrNotReentrant | 3710 | Indicates that code that would cause an event to reoccur cannot be executed within that event. |
adErrStillExecuting | 3711 | Indicates that ADO was still executing a command when another operation was requested. |
adErrOperationCancelled | 3712 | Occurs when an ADO operation has been canceled. |
adErrStillConnecting | 3713 | Indicates that ADO was still connecting to the data source when another operation was requested. |
adErrNotExecuting | 3715 | Indicates that an ADO operation that was not execute was requested to be canceled. |
adErrUnsafeOperation | 3716 | Indicates that the requested operation is not allowed by the security of the environment under which ADO is running. |