Totals for page + PrintOnPreviousPage
Posted: Thu Nov 29, 2012 1:41 pm
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?
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?