Name

SeekEnum Enumeration — (Versions 2.1, 2.5, 2.6)

Synopsis

The SeekEnum enumeration indicates the type of Seek to perform.

Table E-46. The SeekEnum Enumeration

Enumeration (ADO/WFC)

Value

Description

adSeekAfter (AFTER)
8

Indicates that the Seek will occur just after where a match with KeyValues would have occurred.

adSeekAfterEQ (AFTEREQ)
4

Indicates that the Seek will occur where a key equals KeyValues or just after where a match would have occurred.

adSeekBefore (BEFORE)
32 (&H20)

Indicates that the Seek will occur just before where a match with KeyValues would have occurred.

adSeekBeforeEQ (BEFOREEQ)
16 (&H10)

Indicates that the Seek will occur where a key equals KeyValues or just before where a match would have occurred.

adSeekFirstEQ (FIRSTEQ)
1

Indicates that the Seek will occur to the first key equal to KeyValues.

adSeekLastEQ (LASTEQ)
2

Indicates that the Seek will occur to the last key equal to KeyValues.

ADO/WFC

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

See Also

Recordset.Seek Method

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.