Posted 19 December 2019, 9:16 am EST
Hello folks,
i try to do something special with page-numbers.
My report was printed in groups (customers) with ForcePageBreak=‘before’ each customer. I need to have pagenumber 1 on each first page into a group. I use vbscript for the groupheader.OnPrint event and set page=1. That works :-).
But the variable ‘pages’ holds the number of pages of the whole report, not the number of pages per group. In order to print ‘Page 1 from 12’ i need a idea to get the number of pages for the current printed group. Is there any way to get this?
Thanks in advance for any hint to solve this.
Greetings Niels