Hi all,
Using the report editor I am doing a somewhat complicated query-based report which includes both visible automatic calculations on data fields and their break sums and total sums. These work OK.
Then I am also doing some "hidden" calculations in the "before printing body" code section, adding conditionally value to variables defined in the report's beginning section, whose results are not shown on row level, but only in the "End of document block".
Everything works fine EXCEPT that the hidden calculations done before printing the last body row of the report are NOT executed or taken into consideration; the values of the last body row are excluded from the totals shown in the "End of document block"!
How can I get also the last body row included in the hidden calculation results?
Any hints/tips will be appreciated.
Best regards
Ola
Using the report editor I am doing a somewhat complicated query-based report which includes both visible automatic calculations on data fields and their break sums and total sums. These work OK.
Then I am also doing some "hidden" calculations in the "before printing body" code section, adding conditionally value to variables defined in the report's beginning section, whose results are not shown on row level, but only in the "End of document block".
Everything works fine EXCEPT that the hidden calculations done before printing the last body row of the report are NOT executed or taken into consideration; the values of the last body row are excluded from the totals shown in the "End of document block"!
How can I get also the last body row included in the hidden calculation results?
Any hints/tips will be appreciated.
Best regards
Ola