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.
I'm not quite sure what the best way is to approach this requirement. I have 4 reports that are currently compounded one after another using Document Composer in a flowing manner - one report ends, the other one starts. These report pages share the same header/footer in the Page Master.
I need to make a change so that the last report will appear at the bottom of the last page of Report 3 above the Page Master Footer if space permits (Report 4 can be set at 1 inch fixed height). If there is no space, then it will print at the bottom of the next page.
So, I need it to be fixed but still relative to Report 3... not quite sure how to set that up.
Here's the current code (all flowing):
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5^4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=ALL, NAME='Page Master', $
-INCLUDE PAGE_MASTER_OBJECTS
COMPONENT='DfltCmpt1', POSITION=(0 0), DIMENSION=(0 0), $
PAGELAYOUT=1, NAME='Report Page', text='Report Page', TOC-LEVEL=1, BOTTOMMARGIN=1.25, TOPMARGIN=1.35, LEFTMARGIN=0.5, RIGHTMARGIN=0.5, ORIENTATION=PORTRAIT, METADATA='BOTTOMMARGIN=1.25,TOPMARGIN=1.35,LEFTMARGIN=0.5,RIGHTMARGIN=0.5,ORIENTATION=PORTRAIT,', $
COMPONENT='report_1', TEXT='report_1', TOC-LEVEL=2, POSITION=(0.500 1.250), DIMENSION=(* *), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 7.5in; HEIGHT: 1in; TOP: 1.5in; LEFT: 0.5in', $
COMPONENT='report_2', TEXT='report_2', TOC-LEVEL=2, POSITION=(+0.000 +0.000), DIMENSION=(* *), RELATIVE-TO='report_1', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 7.5in; HEIGHT: 3in; TOP: 1.809in; LEFT: 0.5in', $
COMPONENT='report_3', TEXT='report_3', TOC-LEVEL=2, POSITION=(+0.000 +0.234), DIMENSION=(* *), RELATIVE-TO='report_2', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 7.5in; HEIGHT: 3.537in; TOP: 5.043in; LEFT: 0.5in', $
COMPONENT='report_4', TEXT='report_4', TOC-LEVEL=2, POSITION=(+0.000 +0.170), DIMENSION=(* *), RELATIVE-TO='report_3', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 7.5in; HEIGHT: 1in; TOP: 8.75in; LEFT: 0.5in', $
END
SET COMPONENT='DfltCmpt1'
TABLE FILE SYSCOLUM
" "
SUM TBNAME NOPRINT
IF READLIMIT EQ 1
ON TABLE SET PREVIEW ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
END
SET COMPONENT='report_1'
-*component_type report
-INCLUDE f10_26_head.fex
SET COMPONENT='report_2'
-*component_type report
-INCLUDE f10_26_report_2.fex
SET COMPONENT='report_3'
-*component_type report
-INCLUDE f10_26_report_3.fex
SET COMPONENT='report_4'
-*component_type report
-INCLUDE f10_26_report_4.fex
COMPOUND END
This message has been edited. Last edited by: <Kathryn Henning>,
"the last report will appear at the bottom of the last page of Report 3 above the Page Master Footer if space permits (Report 4 can be set at 1 inch fixed height)"
From the code it looks like the top-margin of Report4 is set as "8.75in". Make it to 0 and see what output you get.
Also, you could play with the master page BOTTOMMARGINs.
If there is enough space on the page, i dont see any reason as to why it should go to next page.
WF 7.7.02 on Windows 7 Teradata HTML,PDF,EXCEL,AHTML