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     [CLOSED] How to handle a variable length report embedded in a compound report?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to handle a variable length report embedded in a compound report?
 Login/Join
 
Silver Member
posted
I have a compound report (PDF) that contains 3 reports. The first report can be variable in length depending on the amount of data. I want the second report to print right after the first and the third report to print right after the second. I've tried using relative-to and RELATIVE-POINT but it doesn't work as I had expected. Reports 2 and 3 seems to always print at the same location regardless if report 1 is shorter and it could be moved up further.

Has anyone dealt with this before?
Here is what I have for now...

SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=ON, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.499 0.520), DIMENSION=(* *), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.499in; top: 0.52in; width: 7.649in; height: 7.93in; position: absolute; z-index: 1;', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.498 8.542), DIMENSION=(* *), BYTOC=0, RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT,
POSITION-POINT=TOP-LEFT, ARREPORTSIZE=DIMENSION, $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(0.498 9.377), DIMENSION=(* *), BYTOC=0, RELATIVE-TO='report2', RELATIVE-POINT=BOTTOM-LEFT,
POSITION-POINT=TOP-LEFT, ARREPORTSIZE=DIMENSION, $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ServiceManagement/ServiceCatalog/MPLS/Procurement/Desktop-Laptop-Detail.fex
SET COMPONENT='report2'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ServiceManagement/ServiceCatalog/MPLS/Procurement/Desktop-Laptop-Approval.fex
SET COMPONENT='report3'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ServiceManagement/ServiceCatalog/MPLS/Procurement/Desktop-Laptop-WorkInfo.fex
COMPOUND END


TIA!
Melissa

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.0.09
Windows, All Outputs
 
Posts: 36 | Registered: November 19, 2014Report This Post
Virtuoso
posted Hide Post
I think that happens because the POSITION's of reports 2 & 3 are absolute.

Is this better?:
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=ON, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.499 0.520), DIMENSION=(* *), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.499in; top: 0.52in; width: 7.649in; height: 7.93in; position: absolute; z-index: 1;', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.498 +0.5), DIMENSION=(* *), BYTOC=0, RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT,
POSITION-POINT=TOP-LEFT, ARREPORTSIZE=DIMENSION, $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(0.498 +0.5), DIMENSION=(* *), BYTOC=0, RELATIVE-TO='report2', RELATIVE-POINT=BOTTOM-LEFT,
POSITION-POINT=TOP-LEFT, ARREPORTSIZE=DIMENSION, $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ServiceManagement/ServiceCatalog/MPLS/Procurement/Desktop-Laptop-Detail.fex
SET COMPONENT='report2'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ServiceManagement/ServiceCatalog/MPLS/Procurement/Desktop-Laptop-Approval.fex
SET COMPONENT='report3'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ServiceManagement/ServiceCatalog/MPLS/Procurement/Desktop-Laptop-WorkInfo.fex
COMPOUND END


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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     [CLOSED] How to handle a variable length report embedded in a compound report?

Copyright © 1996-2020 Information Builders