Navigation:  DataServer Classes > DaoQuery Class >

DaoQuery:FindNext() Method

Previous pageReturn to chapter overviewNext page

Purpose

Locate the next record that satisfies the criteria

 

Parameters

cCriteria(Optional) string expression (like the WHERE clause in an SQL statement without the word WHERE) used to locate the record. When omitted this expression defaults to the last expression used by a previous DaoQuery:Find???() method.

 

Returns

Logical value that indicates wheter a record was found.

 

Remarks

Always check the return value of method. If no record was found, the server stays on the original record.

 

Notes

For best performance, the cCriteria should be in either the form "field = value" where field is an indexed field in the underlying base table, or "field LIKE prefix" where field is an indexed field in the underlying base table and prefix is a prefix search string (for example, "ART*").

 

Class

DaoQuery

 

See Also

DaoRecordSet:FindNext()