<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoRecordset Class >


Previous pageReturn to chapter overviewNext page


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



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



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