Hello,
I have a DR7 report that is a simple list with 2 columns, a description and a value in money. At the end of every page I need to create a sum of all values of the page, and I need to report this sum at the beginning of the following page.

Example:
PAGE 1
summary page header - 0 euro
entry 1 - 1 euro
entry 2 - 1 euro
entry 3 - 1 euro
summary page footer - 3 euro

PAGE 2
summary page header - 3 euro
entry 1 - 1 euro
entry 2 - 1 euro
entry 3 - 1 euro
summary page footer - 6 euro

I have created the following formula "initR" that I placed on ReportHeader
Code:
dim gbRiporto as global
let gbRiporto = {?RIPORTO_INIZ}
return gbRiporto
Then the formula "incrementR" that I placed suppressed on Detail section and
Code:
let gbRiporto = gbRiporto + {REGIS.VALUE}
Then I placed a simple "retR" formula in the summary page header and summary page footer
Code:
return gbRiporto
The problem of this solution is that DR will report in the summary page footer the sum of all rows, not only the rows of the page.
Can anyone give me any suggestion how to solve the problem?

Thank you very much.