Enform Plus Reference Manual

Clauses
Enform Plus Reference Manual422684-001
5-35
CUM Clause Used With User Variable
CUM Clause Used With User Variable
When a numeric target-item with a CUM clause is assigned to a user variable,
Enform Plus assigns the value to the user variable first, before the running total is
calculated. When the user variable is referenced as a target-item element in a LIST
statement or as an element within a LIST target-item, Enform Plus uses the value
of the user variable. When the user variable is referenced in a print list, Enform Plus
uses the value of the running total.
Restrictions
You cannot combine the CUM clause with the PCT clause, the TOTAL clause, or the
SUBTOTAL clause.