Click to See Complete Forum and Search --> : Reseting page number


gazala
June 10th, 2008, 05:13 PM
For some reasons ,I have to display page number using a counter and not by Pagenumber field. In counter formula I am using Whileprinting records to get the running total of records to display the page number.
Problem is,, report has subreport also,and if subreport returns records that exceed current page, page number on main report does not reset, whereas requirement is to reset the page no even if its same record.
Is there any way to control it?

jawadhashmi
June 26th, 2008, 12:14 AM
keep the counter as shared variable and pass it to the sub report. Now the subreport has to decide about its size and then you can reset it accordingly.