AGGREGATE item definition

Defines screen-record fields that hold computed values to be displayed as footer cells in a TABLE container.

Syntax

AGGREGATE item-tag = field-name [ , attribute-list ] ;
  1. item-tag is an identifier that defines the name of the item tag in the layout section.
  2. field-name identifies the name of the screen record field.
  3. attribute-list defines the aspect and behavior of the form item.

Attributes

AGGREGATETEXT, AGGREGATETYPE.

Usage

Aggregate fields must be declared with an AGGREGATE element in the ATTRIBUTES section.

For more details see Aggregate fields.

Example

AGGREGATE total = FORMONLY.o_total,
                  AGGREGATETEXT = "Total:",
                  AGGREGATETYPE = SUM;