Posted 23 January 2020, 6:03 am EST
Hello. I need mixed-orientation pages in my section report and I used this workaround: https://www.grapecity.com/blogs/how-to-create-pages-of-mixed-orientation-in-activereports. So essentially I’m appending pages of one report to another.
Here is the problem. I need to use the numbering of pages, and also print total pages count. I’ve been using such expression: Page {PageNumber} of {PageCount}. It works great when the report is not combined from two reports, but otherwise, it prints incorrect numbers (assuming 1 + 2 pages, it prints 1/1, 1/2, 2/2).
I can count and number them manually, but it requires run of the both reports just to get the total page count (I assume i can’t get this number until the report is fully processed by .Run()). This is not the brightest idea I think, and I wonder if there are any other possibilities to solve such a problem. We are using AR v10.
Do you have any thoughts?
Thanks!