<<

Contents

Search

>>

 

REPSUMI

 

 

Function

 

 

Syntax:

REPSUMI(<Numeric Variable>)

 

<Numeric Variable> = <NUM-VARIABLE>

 

Meaning:

Returns the intermediate sum of a report variable.

 

REPSUMI returns the current intermediate sum of the variable <Numeric Variable>. The intermediate sum is the sum of all so far printed values of the variable <Numeric Variable>.

 

This function only returns valid values if it is called during a report and if a Subtotal Field with the variable <Numeric Variable> exists in this report.

 

Parameter:

Numeric Variable

Name of numeric variable

 

Sample:

SUBTOTAL = REPSUMI(CUSTOMER.AMOUNT)

 

See also:

REPSUM

REPNUM

REPMAX

REPNUM