Hi Tim.

 

I’ve been trying different ways using the RVs but didn’t think of that one.  I 
tried duplicating the same RV counter from final footer to first page header 
but the correct total would only show at the footer not the header.

I’ll give your method a try next.

 

Thanks,

Ed.

 

From: Dataperf [mailto:[email protected]] On Behalf Of Tim Rude
Sent: Friday, March 03, 2017 12:49 PM
To: [email protected]
Subject: Re: [Dataperf] Page totaling in report.

 

Assuming you want/need to do this all within DP:

One way to do it would be to have the report run twice as virtual subreports 
inside a main report shell.

The first subreport would output only to the screen (or to NUL:) and would have 
a RV to keep track of how many pages you generate. Then the second subreport 
would output to your chosen target (file, printer, etc.) and use the RV from 
the first subreport to show your total pages.

Keep in mind that this will essentially double your report-processing time.

Tim Rude

On 3/3/2017 1:18 PM, Ed Marfil, MAST UNITED wrote:

I have a lengthy print report output of varying number of total pages and would 
like to be able to state in the report “page n of n pages” at the top of each 
page.  Is this even possible?

 

Ed






_______________________________________________
Dataperf mailing list
[email protected] <mailto:[email protected]> 
http://lists.dataperfect.nl/cgi-bin/mailman/listinfo/dataperf

 

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/cgi-bin/mailman/listinfo/dataperf

Reply via email to