This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
NEXT RECORD
|
NEXT RECORD {( aTable )} | ||||||||
Parameter | Type | Description | ||||||
aTable | Table |
![]() |
Table for which to move to the next selected record, or Default table, if omitted | |||||
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.
See the example for DISPLAY RECORD.
Before selection
End selection
FIRST RECORD
LAST RECORD
PREVIOUS RECORD
Product: 4D
Theme: Selection
Number:
51
Created: < 4D v6
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)