History |
FindPrev (database statements)
Purpose
Finds a record in a record set.
This method begins at the current record and moves backward through the record set until Condition evaluates to TRUE or the end of the record set is reached. Each time the record pointer is moved, Condition is re-evaluated.
If the condition does not evaluate to TRUE and the end of the record set is reached, the NoMatch flag is set to TRUE.
In order to prevent deadlock in asynchronous systems, Find requires server re-entrance for each move and evaluation of Condition. Re-entrance has a substantial amount of overhead and it is often faster and more effective to use the Filter method instead of a Find method.
Syntax
DBStatement.FindPrev (Condition)
Compliance:
Level 2
Example
See the example for FindFirst.
| ||||