PA_EndSelection

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

version 2003


PA_EndSelection (tableNum) char

ParameterTypeDescription
tableNumshortTable number
Function resultchar1 if the end of selection is reached, otherwise 0

Description

The command PA_EndSelection returns 1 if the current record pointer is positioned after the last record of the selection for the Table number tableNum. Otherwise, it returns 0.

PA_EndSelection also returns 1 if the selection is empty.

A 4D plug-in would typically call PA_EndSelection to detect whether the record pointer had moved to a point after the last record of a selection following a call to PA_NextRecord.

WARNING

This routine does not use virtual structure

Example

See PA_NextRecord for an example of use.

See Also

PA_BeforeSelection, PA_NextRecord.

Error Handling

Use PA_GetLastError to see if an error occurred (invalid table number).

Current Selections and Records

No change. If PA_EndSelection returns 1, there is no current record.


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