Constant |
Value |
Description |
INVALIDARGUMENT |
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. |
NOCURRENTRECORD |
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. |
ILLEGALOPERATION |
3219 |
Indicates that the operation requested by the application is not allowed in this context. |
INTRANSACTION |
3246 |
Indicates that the application cannot explicitly close a Connection object while in the middle of a transaction. |
FEATURENOTAVAILABLE |
3251 |
Indicates that the operation requested by the application is not supported by the provider. |
ITEMNOTFOUND |
3265 |
Indicates that ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application. |
OBJECTINCOLLECTION |
3367 |
Indicates that the object is already in the collection and cannot be appended. |
OBJECTNOTSET |
3420 |
Indicates that the object referenced by the application no longer points to a valid object. |
DATACONVERSION |
3421 |
Indicates that the application is using a value of the wrong type for the current operation. |
OBJECTCLOSED |
3704 |
Indicates that the operation requested by the application is not allowed if the object is closed. |
OBJECTOPEN |
3705 |
Indicates that the operation requested by the application is not allowed if the object is open. |
PROVIDERNOTFOUND |
3706 |
Indicates that ADO could not find the specified provider. |
BOUNDTOCOMMAND |
3707 |
Indicates that the application cannot change the ActiveConnection property of a Recordset object with a Command object as its source. |
INVALIDPARAMINFO |
3708 |
Indicates that the application has improperly defined a Parameter object. |
INVALIDCONNECTION |
3709 |
Indicates that the application requested an operation on an object with a reference to a closed or invalid Connection object. |
NOTREENTRANT |
3710 |
Indicates that code that would cause an event to reoccur cannot be executed within that event. |
STILLEXECUTING |
3711 |
Indicates that ADO was still executing a command when another operation was requested. |
OPERATIONCANCELLED |
3712 |
Occurs when an ADO operation has been canceled. |
STILLCONNECTING |
3713 |
Indicates that ADO was still connecting to the data source when another operation was requested. |
NOTEXECUTING |
3715 |
Indicates that an ADO operation that was not executed was requested to be canceled. |