version 3
NEXT RECORD {(table)}
Parameter | Type | Description | |
table | Table | Table for which to move to the next selected record, | |
or Default table, if omitted |
Description
NEXT RECORD moves the current record pointer to the next record in the current selection of table for the current process. If the current selection is empty, or if Before selection or End selection is TRUE, NEXT RECORD has no effect.
If NEXT RECORD moves the current record pointer past the end of the current selection, End selection returns TRUE, and there is no current record. If End selection returns TRUE, use FIRST RECORD, LAST RECORD, or GOTO SELECTED RECORD to move the current record pointer back into the current selection.
Example
See the example for DISPLAY RECORD.
See Also
Before selection, End selection, FIRST RECORD, LAST RECORD, PREVIOUS RECORD.