4D v16.3

NEXT RECORD

Home

 
4D v16.3
NEXT RECORD

NEXT RECORD 


 

NEXT RECORD {( aTable )} 
Parameter Type   Description
aTable  Table in 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.

Example  

See the example for DISPLAY RECORD.



See also 

Before selection
End selection
FIRST RECORD
LAST RECORD
PREVIOUS RECORD

 
PROPERTIES 

Product: 4D
Theme: Selection
Number: 51

This command changes the currrent recordThis command can be run in preemptive processes

 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)