+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Total sum on each page


(Guest) #1

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?


(Guest) #2

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?


(Guest) #3

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?