Name

ErrorValueEnum Enumeration — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

The ErrorValueEnum enumeration contains the constants for ADO runtime errors.

Table E-18. The ErrorValueEnum Enumeration Values

Enumeration (ADO/WFC)

Value

Description

adErrBoundToCommand (BOUNDTOCOMMAND)
3707 (&HE7B)

The ActiveConnection property of a Recordset object cannot be changed because the Recordset object’s source is a Command object.

adErrCannotComplete (no ADO/WFC equivalent)

3732 (&HE94)

The server that owns the source row cannot complete the operation.

adErrCantChangeConnection (no ADO/WFC equivalent)

3748 (&HEA4)

The Connection was denied because it has different characteristics than the one already in use.

adErrCantChangeProvider (no ADO/WFC equivalent)

3220 (&HC94)

The supplied provider is different from the one already in use.

adErrCantConvertvalue (no ADO/WFC equivalent)

3724 (&HE8C)

Data value could not be converted for reasons other than sign mismatch or data overflow. For example, conversion would have truncated data.

adErrCantCreate (no ADO/WFC equivalent)

3725 (&HE8D)

Data could not be set or retrieved because the column datatype was unknown or the provider had insufficient resources to perform the operation.

adErrCatalogNotSet (no ADO/WFC equivalent)

3747 (&HEA3)

The operation requires a valid ParentCatalog.

adErrColumnNotOnThisRow (no ADO/WFC equivalent)

3726 (&HE8E)

Column does not exist on this row.

adErrDataConversion (DATACONVERSION)

3421 (&HD5D) ...

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.