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     [CASE OPENED] Compound Report - Strange Output
Go
New
Search
Notify
Tools
Reply
  
[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: 10 | Location: WebFocus 8.0.0.8 | Registered: May 24, 2016Reply With QuoteReport 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: 1560 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Gold member
posted Hide Post
Hello CD,

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

Thank you.


WebFOCUS 7.X.X, 8.X.X
Windows, All Outputs
 
Posts: 71 | Registered: February 02, 2016Reply With QuoteReport 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: 10 | Location: WebFocus 8.0.0.8 | Registered: May 24, 2016Reply With QuoteReport This Post
Gold 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,


WebFOCUS 7.X.X, 8.X.X
Windows, All Outputs
 
Posts: 71 | Registered: February 02, 2016Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE OPENED] Compound Report - Strange Output

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