PA_RecordNumber

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_RecordNumber (tableNum)

ParameterTypeDescription
tableNumshortTable number

Description

The command PA_RecordNumber returns the physical record number for the current record of table. If there is no current record, PA_RecordNumber returns –1. If the record is a new record that has not been saved, PA_RecordNumber returns –3.

For more information on records numbers, see About Record Numbers, in the 4th Dimension documentation. As a reminder, note that record numbers:

- start at 0,
- can be reused (when a record is deleted, its record number can be used by 4th Dimension for a new record)
- can be modified by 4DTools (database compacted or recovered by tags)
- are temporary during transaction

See Also

PA_GotoRecord.

Error Handling

PA_GetLastError should always returns 0


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next