Skip to main content
Version: Next

NEXT RECORD

NEXT RECORD {( aTable )}

ParameterTypeDescription
aTableTableTable 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 aTable 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

Properties

Command number51
Thread safe
Changes current record