Steps through a specified number of records and retrieves a record.
[Steps :=] RecordRef.NEXT([Steps]) |
Parameters
- RecordRef
-
Type: RecordRef
The recordref that refers to the record that you want to use as the starting point for the steps. The function returns 0 if no table is selected.
- Steps
-
Type: Integer
Defines the direction of the search and how many records to step over.
If this parameter is greater than zero, the function will search Steps number of records forward in the table. If this parameter is less than zero, the function will search Steps number of records backward in the table. If this parameter is 0, it has no effect.
If you do not specify this parameter, the function finds the next record.