Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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, 2011Report 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, 2011Report 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, 2011Report 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.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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, 2011Report 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.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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, 2011Report 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.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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-2020 Information Builders