Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Compound Report - Page Break between reports - PDF
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Compound Report - Page Break between reports - PDF
 Login/Join
 
Guru
posted
Can you create a page break between compound reports, so that each report starts on a new page? I am using a TOC in a compound report (3 reports) and when I click to select the 2nd report my page header ends on the page of the previous report, which makes it so that you have to page down to see the top set of data.

This message has been edited. Last edited by: Jay Potter,


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Reply With QuoteReport This Post
Guru
posted Hide Post
FYI

I do not have a NOBREAK anywhere in my code.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Reply With QuoteReport This Post
Silver Member
posted Hide Post
Hi Jay,

Try the example code below. Hope this what you're looking for. It runs in PDF format.

SET PAGE = OFF
SET COMPOUND = ON
-RUN
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY
HEADING
"REPORT 1"
ON TABLE PCHOLD FORMAT PDF OPEN
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER',
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END
-RUN
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY
HEADING
"REPORT 2"
ON TABLE PCHOLD FORMAT PDF OPEN
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER',
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END
-RUN
SET COMPOUND = OFF
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY
HEADING
"REPORT 3"
ON TABLE PCHOLD FORMAT PDF CLOSE
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER',
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END

Regards,
Venkat


product release:8203
o/s: windows 10
expected o/p formats: HTML,EXCEL,PDF
 
Posts: 34 | Location: Kearney, Nebraska | Registered: December 14, 2011Reply With QuoteReport This Post
Expert
posted Hide Post
quote:
SET COMPOUND = ON


I thought it was SET COMPOUND = OPEN|CLOSE|NOBREAK


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6114 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Silver Member
posted Hide Post
Hi Waz,

Initially, I thought the same..but SET COMPOUND = ON seems to be working without any issue..


product release:8203
o/s: windows 10
expected o/p formats: HTML,EXCEL,PDF
 
Posts: 34 | Location: Kearney, Nebraska | Registered: December 14, 2011Reply With QuoteReport This Post
Expert
posted Hide Post
I guess this is an undocumentated feature.

I would always suggest following what is documented, as if it fails one day, IBI won't support it.

http://documentation.informati...13-B8C3-50C024C6BF0E


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6114 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Guru
posted Hide Post
Thank You for the information. I got it to work


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Reply With QuoteReport This Post
Expert
posted Hide Post
Could you please post your solution, as it may help someone else in the future.


Also, could you update the first post in this thread, and add [SOLVED] to the title.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6114 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Guru
posted Hide Post
My probelm was that I was doing a different type of compound report and I had to adjust relative position using the code below.



COMPOUND LAYOUT PCHOLD FORMAT PDF
OBJECT=BOOKMARKS, $
SECTION=S1, LAYOUT=ON, MERGE=OFF, ORIENTATION=LANDSCAPE, TOPMARGIN=0.5, BOTTOMMARGIN=0.5,$
PAGELAYOUT=1, TOPMARGIN=0.5, BOTTOMMARGIN=0.5,$
COMPONENT=report1, TEXT='Daily Sales Report by Subsidiary Summary', TOC-LEVEL=1, BYTOC=3,
DRILLMAP=((L1 report2)), POSITION=(1 1), DIMENSION=(* *), $
COMPONENT=report2, TEXT='Daily Sales Report by Subsidiary Detail', TOC-LEVEL=1, BYTOC=3,
POSITION=(+0.00 +800.000), DIMENSION=(* *), RELATIVE-TO='report1',
RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, $
COMPONENT=report3, TEXT='Daily Sales Report by Subsidiary Rules', TOC-LEVEL=1, BYTOC=3,
POSITION=(+0.00 +800.000), DIMENSION=(* *), RELATIVE-TO='report2',
RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, $


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Compound Report - Page Break between reports - PDF

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.