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     [CLOSED] PDF Coordinate report based on second sort order
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] PDF Coordinate report based on second sort order
 Login/Join
 
Member
posted
Hi Everyone,

We all know that by default if we enable MERGE=ON in compound layout report will be break down by first common sort order(COUNTRY) from both report request.But what i need is reports should break down by second sort order(BODYTYPE) instead of first sort order.


**Here is sample code**

***report1.fex****

-DEFAULTH &WF_SUMMARY='Summary';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
TABLE FILE ibisamp/car
SUM CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
BY CAR.BODY.BODYTYPE
BY CAR.COMP.CAR
ON TABLE PCHOLD FORMAT PDF
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET SQUEEZE ON
ON TABLE SET EMPTYREPORT ON
ON TABLE SET HTMLCSS ON
ON TABLE SET HTMLENCODE ON
ON TABLE SET CACHELINES 100
ON TABLE SET GRWIDTH 1
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, SUMMARY=&WF_SUMMARY.QUOTEDSTRING, $
ENDSTYLE
END

-RUN

***report2.fex***
-DEFAULTH &WF_SUMMARY='Summary';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
TABLE FILE ibisamp/car
SUM CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
BY CAR.ORIGIN.COUNTRY
BY CAR.BODY.BODYTYPE
BY CAR.COMP.CAR
ON TABLE PCHOLD FORMAT PDF
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET SQUEEZE ON
ON TABLE SET EMPTYREPORT ON
ON TABLE SET HTMLCSS ON
ON TABLE SET HTMLENCODE ON
ON TABLE SET CACHELINES 100
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, SUMMARY=&WF_SUMMARY.QUOTEDSTRING, $
ENDSTYLE
END
-RUN

***Compund Layout****
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.708 0.729), DIMENSION=(7.188 3.229), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.708in; top: 0.729in; width: 7.188in; height: 3.229in; position: absolute; z-index: 1;', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.708 +2.0), DIMENSION=(7.292 3.021), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.708in; top: 4.271in; width: 7.292in; height: 3.021in; position: absolute; z-index: 2;', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/folder1/Report1.fex
SET COMPONENT='report2'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/folder1/Report2.fex
COMPOUND END


I need to display records on one after another based on BODYTYPE .

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 5 | Registered: May 07, 2019Reply With QuoteReport This Post
Virtuoso
posted Hide Post
So how do you want it to deal with the first sort (COUNTRY)?


WebFOCUS 8206, Unix, Windows
 
Posts: 1658 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Member
posted Hide Post
I would like to display the COUNTRY in SUBFOOT and break the report based on second sort filed which is Bodytype.
 
Posts: 5 | Registered: May 07, 2019Reply With QuoteReport This Post
Gold member
posted Hide Post
Hello,
Please give a try with "BY CAR.BODY.BODYTYPE PAGE-BREAK"


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     [CLOSED] PDF Coordinate report based on second sort order

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