<<

Contents

Search

>>

 

REPSUM

 

 

Function

 

 

Syntax:

REPSUM(<Numeric Variable>)

 

<Numeric Variable> = <NUM-VARIABLE>

 

Meaning:

Returns the sum of a report variable.

 

REPSUM returns the current sum of the variables <Numeric Variable>. This 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 sum field with the variable <Numeric Variable> exists in this report.

 

Parameter:

Numeric Variable

Name of numeric variable

 

Sample:

SUM = REPSUM(CUSTOMER.AMOUNT)

 

See also:

REPSUMI

REPNUM

REPMAX

REPNUM