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     [CASE OPENED] Compound Report - Strange Output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE OPENED] Compound Report - Strange Output
 Login/Join
 
Member
posted
I have a compound report with 2 reports rpt1 and rpt2. We expect the compound report output will be rpt1, then rpt2. For unknown reason, the output in reverse order. We would like know why and how to control it.

Below is the code:

-* Default Mode: ResourceLayout
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=LANDSCAPE, 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.500 1.458), DIMENSION=(10.208 1.250), ARREPORTSIZE=DIMENSION, METADATA='left: 0.5in; top: 1.458in; width: 10.208in; height: 1.25in; position: absolute; z-index: 1;', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.500 3.438), DIMENSION=(10.208 2.083), ARREPORTSIZE=DIMENSION, METADATA='left: 0.5in; top: 3.438in; width: 10.208in; height: 2.083in; position: absolute; z-index: 2;', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/IJIS_Portal/JMSPRINT/INMATESERVICESCFC/HeaderNOImage.fex
SET COMPONENT='report2'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/IJIS_Portal/JMSPRINT/INMATESERVICESCFC/ProgramCFCpdf.fex

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


WebFocus 8.0.0.8
Windows, All Outputs
 
Posts: 13 | Location: WebFocus 8.0.0.8 | Registered: May 24, 2016Report This Post
Virtuoso
posted Hide Post
CD

This looks correct to me, I suggest you open a case and show this to techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Hello CD,

Try with MERGE=OFF instead of MERGE=ON.
Give a try.

Thank you.
 
Posts: 109 | Registered: February 02, 2016Report This Post
Member
posted Hide Post
FP Mod Chuck, Thank you very much for your help. I will opened a case with IBI tech support.


WebFocus 8.0.0.8
Windows, All Outputs
 
Posts: 13 | Location: WebFocus 8.0.0.8 | Registered: May 24, 2016Report This Post
Platinum Member
posted Hide Post
Even I have the same, Second fex coming on top and the first fex coming in the second page.
What happen in my example was that when the MERGE set to MERGE=ON then it enables the sorting of the data. (That's why the pages are sorted according to the data.)
When I used MERGE=OFF, it is working what CD wanted to.



-* Default Mode: ResourceLayout
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.500 0.624), DIMENSION=(7.438 9.819), BYTOC=0,  ARREPORTSIZE=DIMENSION, METADATA='left: 0.5in; top: 0.624in; width: 7.438in; height: 9.819in; position: absolute; z-index: 1;', $
PAGELAYOUT=2, NAME='Page layout 2', text='Page layout 2', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.500 0.822), DIMENSION=(7.396 9.581), BYTOC=0,  ARREPORTSIZE=DIMENSION, METADATA='left: 0.5in; top: 0.822in; width: 7.396in; height: 9.581in; position: absolute; z-index: 1;', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE test_1.fex
SET COMPONENT='report2'
-*component_type report
-INCLUDE test2.fex
COMPOUND END
  



 

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* FEX 1
TABLE FILE CAR
PRINT
CAR
BY CAR
WHERE RECORDLIMIT EQ 1
ON TABLE PCHOLD FORMAT PDF
END
-RUN

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* FEX 2
DEFINE FILE CAR
CAR_1/A16='';
END
TABLE FILE CAR
PRINT
CAR
BY CAR_1

WHERE RECORDLIMIT EQ 1
ON TABLE PCHOLD FORMAT PDF
END
-RUN



 

This message has been edited. Last edited by: pav,
 
Posts: 109 | Registered: February 02, 2016Report 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     [CASE OPENED] Compound Report - Strange Output

Copyright © 1996-2020 Information Builders