Name

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

Synopsis

The PositionEnum enumeration specifies the current position of the record pointer within a Recordset object.

Table E-36. The PositionEnum Enumeration

Enumeration (ADO/WFC)

Value

Description

adPosBOF (BOF)
-2 (&HFFFFFFFE)

Indicates that the record pointer is immediately before the first record in the Recordset object.

adPosEOF (EOF)
-3 (&HFFFFFFFD)

Indicates that the record pointer is immediately after the last record in the Recordset object.

adPosUnknown (UNKNOWN)
-1 (&HFFFFFFFF)

Indicates that the Recordset is empty, the position is unknown, or the data provider cannot determine the current position.

ADO/WFC

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

See Also

Recordset.AbsolutePage Property, Recordset.AbsolutePosition 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.