Reporter Basic Sum function (Reporting and Printing)

Problem:  The Reporter Basic Sum function doesn't calculate correctly, if used more than once in a formula.  For example:

 

answer = sum(a) + sum(b)

 

Solution: This is invalid syntax.  The Reporter Basic Sum function must be equated to a single variable.  The correct syntax is:

 

xa = sum(a)

xb = sum(b)

answer = xa + xb

  • kb/kb_articles/kb0156.txt
  • Last modified: 2024/01/30 13:36
  • by 127.0.0.1