| 4D v20.1NEXT RECORD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v20.1
 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)
	
	
	
 Add a comment
Add a comment