Skip to Content
0
Former Member
Jul 07, 2008 at 03:56 AM

To reset page number after each new section in DeskI

165 Views

I have a master/detail report where the master is "Customer name". I have a requirement to reset the page number at each new Customer name.

i.e. If "Customer A" spans to 3 pages and "Customer B" spans 2 pages. Then for Customer A the page number should be Page 1 of 3, Page 2 of 3, Page 3 of 3. Then Customer B should have page number as Page 1 of 2,Page 2 of 2.

1. The Page number can be obtained using PageInSection but only if I display it inside the section body and select "Repeat on every page" . But I need to display it in Page footer.

2. I am unable to get the total No.of Pages per section unless I do some calculation using the no of rows per Customer. Is there any other way of getting this detail?

Please help on the baove 2 issues. This is very URGENT.