Previous PageNext Page

B.3 ADO Errors

ADO provides the following errors:
 

Constant Name Number Description
adErrInvalidArgument
 
3001
 
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
 
Either BOF or EOF is TRUE, or the current record has been deleted; the operation request by the application requires a current record.
 
adErrIllegalOperation
 
3219
 
The operation requested by the application is not allowed in this context.
 
adErrFeatureNotAvailable
 
3251
 
The operation requested by the application is not supported by the provider.
 
adErrItemNotFound
 
3265
 
ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application.
 
adErrObjectInCollection
 
3367
 
Can't append. Object already in collection.
 
adErrObjectNotSet
 
3420
 
The object referenced by the application no longer points to a valid object.
 
adErrDataConversion
 
3421
 
The application is using a value of the wrong type for the current operation.
 
adErrObjectClosed
 
3704
 
The operation requested by the application is not allowed if the object is closed.
 
adErrObjectOpen
 
3705
 
The operation requested by the application is not allowed if the object is open.
 
adErrProviderNotFound
 
3706
 
ADO could not find the specific provider.
 
adErrBoundToCommand
 
3707
 
The application cannot change the ActiveConnection property of a Recordset object with a Command object as its source.
 
adErrInvalidParamInfo
 
3708
 
The application has improperly defined a Parameter object.
 
adErrInvalidConnection
 
3709
 
The application requested an operation on an object with a reference to a closed or invalid Connection object.
 


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page