The value to find in a field.
Optional. Default = all fields. The name of the field to search.
Finds the next record with a value matching Value. Searches all fields unless Fieldname is specified.
The <OBJECT>.LOCATE_NEXT() 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_NEXT() method finds the next record with a field value matching value. Note : If you are searching in an indexed field, the <OBJECT>.FIND() method is faster.
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.