Total sum on each page

Hi,

I need a report where on the bottom of each page a total sum for all report needs to be printed. I put text object with reference to user variable where required sum is accumulated. The problem is that sum I get is not total for whole report but only for currently printed pages. E.g. I printed 40 rows, I need on each page to have “Total: 40”, but I get “Total: 20” on the first page and “Total: 40” on the second. How it is possible to solve this problem?

You need to do two passes and sum yourself. List & label is not
capable of precalculating values it does not know.

Paulchen

“Andrey Kuzmin” <akz@startext.tom…> wrote in message
news:38952410200862153@combit.net…

Hi,

I need a report where on the bottom of each page a total sum for all
report needs to be printed. I put text object with reference to user
variable where required sum is accumulated. The problem is that sum
I get is not total for whole report but only for currently printed
pages. E.g. I printed 40 rows, I need on each page to have “Total:
40”, but I get “Total: 20” on the first page and “Total: 40” on the
second. How it is possible to solve this problem?

Thanks, for your answer.

You need to do two passes and sum yourself. List & label is not
capable of precalculating values it does not know.

Paulchen

“Andrey Kuzmin” <akz@startext.tom…> wrote in message
news:38952410200862153@combit.net…

Hi,

I need a report where on the bottom of each page a total sum for all
report needs to be printed. I put text object with reference to user
variable where required sum is accumulated. The problem is that sum
I get is not total for whole report but only for currently printed
pages. E.g. I printed 40 rows, I need on each page to have “Total:
40”, but I get “Total: 20” on the first page and “Total: 40” on the
second. How it is possible to solve this problem?