Name

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

Synopsis

The ObjectStateEnum enumeration provides a status of the current object.

Table E-32. The ObjectStateEnum Enumeration

Enumeration (ADO/WFC)

Value

Description

adStateClosed (CLOSED)
0

Default. Indicates that the current object is closed.

adStateConnecting (CONNECTING)
2

Indicates that the current object is connecting to the data source.

adStateExecuting (EXECUTING)
4

Indicates that the current object is executing a command.

adStateFetching (FETCHING)
8

Indicates that the current object is fetching rows from the data source.

adStateOpen (OPEN)
1

Indicates that the current object is open.

ADO/WFC

The ObjectStateEnum enumeration is part of the com.ms.wfc.data package, and the constant values are preceded with AdoEnums.ObjectState.

See Also

Command.State Property, Connection.State Property, Record.State Property, Recordset.State Property, Stream.State Property

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.