DoublePass, ResetPageNumber and PageNumber / TotalPageCount
Posted: Fri Jul 03, 2009 11:32 am
I have a report with 2 databands on a master-detail relationship.
For every master row, I need to create a new page and reset the page number.
If I have the Number of pass property set to Single pass everything
works as expected. However, I need to set the property to Double pass since I
must check in every Page Footer if it is the last page (using IsLastPage). But
when the report uses double pass something weird happens to the page numbers, since they
seem to reset for every page after the first master row....
What I'm trying to achieve is to print a text on the Page Footer only if it is in
the last page. So, for every master row I must get its details and a text on the last
page footer.
Just to clarify, the report looks something like this:
-Master Row (can be several pages)
--Details (Can be serveral pages)
-PageFooter (if it is the last footer, print text, start new page and reset page number)
Any hint on how can this be done?
I have also sent a message to support with the mrt file, and two mdc files, one with
the report in Single pass and another in Double Pass.
For every master row, I need to create a new page and reset the page number.
If I have the Number of pass property set to Single pass everything
works as expected. However, I need to set the property to Double pass since I
must check in every Page Footer if it is the last page (using IsLastPage). But
when the report uses double pass something weird happens to the page numbers, since they
seem to reset for every page after the first master row....
What I'm trying to achieve is to print a text on the Page Footer only if it is in
the last page. So, for every master row I must get its details and a text on the last
page footer.
Just to clarify, the report looks something like this:
-Master Row (can be several pages)
--Details (Can be serveral pages)
-PageFooter (if it is the last footer, print text, start new page and reset page number)
Any hint on how can this be done?
I have also sent a message to support with the mrt file, and two mdc files, one with
the report in Single pass and another in Double Pass.