GOTO RECORD

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 3


GOTO RECORD ({table; }record)

ParameterTypeDescription
tableTableTable in which to go to the record, or
Default table, if omitted
recordNumberNumber returned by Record number

Description

GOTO RECORD selects the specified record of table 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, 4th Dimension 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, the selection becomes empty.

Note: With this command, you should not use temporary record numbers issued during transactions.

Example

See the example for Record number.

See Also

About Record Numbers, Record number.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next