Previous Topic: $PANELFIELDERROR FunctionNext Topic: $PF Function


$PANELGROUPOCCURS Function

This function returns the number of occurrences of a repeating group in a panel. You can define panels with a variable number of occurrences of a group of fields, the number of which is determined by the number of lines that remain in the region of the screen during application execution. However, there can only be one repeating group per panel.

This function assists in error processing but can only be used if the edit‑rule error procedure option of the panel parameter fill‑in was specified as A for application. For more information, see the Creating Panel Definitions Guide.

This function has the following format:

$PANEL‑GROUP‑OCCURS (panel‑name)
panel‑name

The name of the panel for which the number of occurrences is requested.