PA_RecordNumber


version 2003


PA_RecordNumber (tableNum)

Parameter Type Description
tableNum short Table 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