Topic complex |
Statistical functions |
Function |
sum() |
Short |
Returns the sum of an expression for a database evaluation |
Syntax |
SUM(numerischer_Ausdruck) |
Parameter |
numeric_expression: any expression with direct field accesses.
|
Return |
Sum of every calculation of the numeric expression for every record of the evaluation. |
See also: |
|
Description |
Example:
VAR sum_income : REAL
...
FINDANDMARK(db,'income<>0','sum_income:=SUM(income)')
After the execution of the function in sum_income is the sum of all information about income.
|