SearchDirectionEnum

Applies to: Access 2013, Office 2013

Specifies the direction of a record search within a Recordset.

Constant

Value

Description

adSearchBackward

-1

Searches backward, stopping at the beginning of the Recordset. If a match is not found, the record pointer is positioned at BOF.

adSearchForward

1

Searches forward, stopping at the end of the Recordset. If a match is not found, the record pointer is positioned at EOF.

ADO/WFC equivalent

Package: com.ms.wfc.data

Constant

AdoEnums.SearchDirection.BACKWARD

AdoEnums.SearchDirection.FORWARD