4D Plugin API


PA_FirstRecord (tableNum)

Parameter Type Description
tableNum short Table number

Description

The command PA_FirstRecord moves the current record pointer to the first record of the selection for the Table number tableNum . If the current selection is empty, PA_FirstRecord has no effect.

Before calling PA_FirstRecord the4D plug-in should indicate if the many-to-one and one-to-many relations should be activated by using PA_UseAutomaticRelations .

WARNING

This routine does not use virtual structure

Example

See PA_NextRecord for an example.

See Also

PA_NextRecord , PA_PreviousRecord , PA_UseAutomaticRelations .

Error Handling

Use PA_GetLastError to see if an error occurred

Current Selections and Records

The current record is changed to the first of the selection.