Hello,
I have encountered a problem when trying to calculate page totals on a page that has PrintOnPreviousPage set to true. I attach a report that illustrates the problem, but let me explain it in detail.
I have two pages: the first one has some content (which is at the moment unimportant) and then there is the second one with a data band and a footer for this data band. In the footer there's a text field with the number of rows per page (calculated using cCount function). The footer has PrintOnAllPages set to true.
The second page has PrintOnPreviousPage set to true, so some of the content of the data band is printed on the first page, together with the footer (because it has PrintOnAllPages). And the problem: on the first page the footer shows the number of rows from the second page. The number is repeated on the second page, and after on every other page everything is OK.
I suppose that this is because the counting of rows starts on the page where the data band is actually placed - the second page in this case. My question is: is this how it is supposed to work, or is it a bug?
Totals for page + PrintOnPreviousPage
Totals for page + PrintOnPreviousPage
- Attachments
-
- PageTotals.mrt
- (7.45 KiB) Downloaded 493 times
Re: Totals for page + PrintOnPreviousPage
Hello.
Thank you for information.
We have reproduced the issue and need some time to solve it.
We'll let you know about the results.
Thank you.
Thank you for information.
We have reproduced the issue and need some time to solve it.
We'll let you know about the results.
Thank you.
Re: Totals for page + PrintOnPreviousPage
Hello,
Due to some pecularity of the engine we cannot fix this issue.
As a workaround, instead of expression
please use the following expression:
Thank you.
Due to some pecularity of the engine we cannot fix this issue.
As a workaround, instead of expression
Code: Select all
{cCount(DataBand1)}
Code: Select all
{Totals.cCount(DataBand1)}
Re: Totals for page + PrintOnPreviousPage
The workaround works fine. Thanks for your help.
Re: Totals for page + PrintOnPreviousPage
Hello.
We are always glad to help you.
Let us know if you will need any additional help.
Thank you.
We are always glad to help you.
Let us know if you will need any additional help.
Thank you.