AdoRecordSet:Find()

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoRecordset Class >

AdoRecordSet:Find()

Previous pageReturn to chapter overviewNext page

Purpose

Searches a Recordset for the row that satisfies the specified criteria.

 

Prototype

METHOD Find ( cCriteria AS STRING,lSkipRecs AS USUAL, lSearchDir AS USUAL, oStart AS USUAL ) AS VOID PASCAL CLASS AdoRecordSet

 

Argument(s)

cCriteria        A String containing a statement that specifies the column name, comparison operator, and value to use in the search.

lSkipRecs        (Optional) A Long (default =zero), the row offset from the current row or start bookmark to begin the search.

lSearchDir        (Optional) A SearchDirectionEnum value. Default = adSearchForward

oStart        (Optional) A bookmark that functions as the starting position for the search.

 

 

See Also

AdoRecordSet, AdoSearchDirectionEnum