The value to find in a field.
Optional. Default = all fields. The name of the field to search.
Finds the previous record that matches the value to find.
The <OBJECT>.LOCATE_PREV() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.LOCATE_PREV() method finds the previous record with a field value matching value. Searches all fields unless Fieldname is specified.
A form has a control called "Find_What" and a button called "Search". When the user presses this button, this script searches for the value in "Find_What". All fields in the record are searched.
Desktop applications only.