Kbase 14029: S/E 364 with ACCUM function -check field order in ACCUMULATE
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
S/E 364 with ACCUM function -check field order in ACCUMULATE
If a customer is getting a System Error 364 "unable to find ACCUM
expression in an earlier DISPLAY or ACCUM statement to display",
check to make sure that the expression used in the ACCUM function is
the same exact expression as given in the ACCUMULATE statement (or
DISPLAY statement).
For example, if you have ACCUMULATE qty * price (TOTAL), then your
ACCUM statment must read DISPLAY (ACCUM TOTAL qty * price), NOT
DISPLAY (ACCUM TOTAL price * qty). Otherwise, the compiler gets
confused because it doesn't understand that price * qty is the same as
qty * price.
Progress Software Technical Support Note # 14029