Focal Point
[SOLVED] Physical page numbering of compounded pdf reports.

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5307005426

September 26, 2012, 02:55 PM
gcarterIT
[SOLVED] Physical page numbering of compounded pdf reports.
I've searched the entire forum for a solution. Though there been several comments over the years, covering a variety of WebFOCUS versions, there seems to be no agreement on a solid solution. I've tried, but have not a solution that works for me So here we go again:

I have a physical (hard-copy) pdf report produced from 5 compounded WebFOCUS reports. The layout can be described as follows:


Physical Page 1
-----------------------
This page consists of 3 compounded WebFOCUS reports. The 1st and 2nd WebFOCUS reports are fixed length (have a fixed number of lines).
The 3rd WebFOCUS report, which will always start on the 1st physical page, could possibly spill over into a 2nd physical page.

Physical Page 2?, 3?, 4?.....
---------------------------------------
Depending on what physical page the 3rd WebFOCUS report ends, the 4th WebFOCUS report will start at the top of the next physical page.
The 4th WebFOCUS report could possibly spill over into the next physical page.

Physical Page 3?, 4?, 5?.....
---------------------------------------
Depending on what physical page the 4th WebFOCUS report ends, the 5th WebFOCUS report will start at the top of the next physical page.
The 5th WebFOCUS report could possibly spill over into the next physical page.

NOTE:
1. There will only be a physical report if there are results returned for the 1st, 2nd and 3rd reports; they share the same results but display it 3 different levels of detail.
2. However, the 4th and 5th reports, which are independent of each other, may not be generated, so its possible to have the 5th report (without any 4th report) immediately follow the 3rd report.

How can I properly number the physical pages regardless of the lengths of the 3rd, 4th and 5th reports? I'm using both WF 7.6.

Thanks,
George

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
September 26, 2012, 05:10 PM
Dan Satchell
Have you considered or tried this?

SET FOCFIRSTPAGE = &FOCNEXTPAGE



WebFOCUS 7.7.05
September 27, 2012, 08:56 AM
gcarterIT
No, not yet. But wouldn't hurt to try and I will.

Thanks.


WebFOCUS 7.6
Windows, All Outputs
September 27, 2012, 10:48 AM
gcarterIT
quote:
SET FOCFIRSTPAGE = &FOCNEXTPAGE


Thanks Dan,

That seemed to work. The solution is simpler than I thought it would be.

Just curious, can you think of a situation where this might not work for compound PDF reports?

Thanks again,
George


WebFOCUS 7.6
Windows, All Outputs
September 27, 2012, 12:31 PM
Dan Satchell
ReportCaster is always a "maybe".


WebFOCUS 7.7.05
September 27, 2012, 01:01 PM
gcarterIT
Noted.
Thanks.


WebFOCUS 7.6
Windows, All Outputs