Display SUM of previous page on the beginning of next page
IvicaSD
Beograd, Srbija
On the bottom of each page (in PageFooter on every but last page, and in GroupFooter for the last page) I show SUM with aggregate function
[SUM(<KEPU."ZADUZENJE">,MasterData1,2)]
I would like to print the same data on the beggining of the next page (in PageHeader), but can not use the same formula (it remains empty on print preview).
Furthermore, this SUM should not be seen on the beginning of the first page! How can I hide it?
I can remove it from the PageHeader, but where to put it? (PageFooter has a nice option - PrintOnFirst/LastPage, in properties)
Please, help me.
Comments
in the memo of the header use the variable.
in the obp event of the memo in the header, or the page header write code to set the memo visible to false.
memo1.visible := <page#> > 1;
also write code to set the variable to 0 at the start of the report
Thanks a lot! [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Couldn't try today, will do tomorrow...[/img]
Just to inform you that following your instructions to the letter led me to a success! [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Thanks again.[/img]