4D v14.3

GOTO RECORD

Home

 
4D v14.3
GOTO RECORD

GOTO RECORD 


 

GOTO RECORD ( {aTable ;} record ) 
Parameter Type   Description
aTable  Table in Table in which to go to the record, or Default table, if omitted
record  Longint in Number returned by Record number

GOTO RECORD selects the specified record of aTable as the current record. The record parameter is the number returned by the Record number function. After executing this command, the record is the only record in the selection.

If record is less than the smallest record number in the database or greater than the greatest record number in the database, 4D generates an error message stating that the record number is out of range. If record is equal to the record number of a deleted record, 4D returns the error -10503 and the selection becomes empty.

Example  

See the example for Record number.

 
PROPERTIES 

Product: 4D
Theme: Records
Number: 242

This command modifies the Error system variableThe command changes the current selection

 
HISTORY 

Modified: 4D v11 SQL

 
SEE ALSO 

About Record Numbers
Record number

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)