Focal Point
[CLOSED] Avoid page-break with MERGE = ON

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5217085826

February 07, 2013, 05:11 AM
Kumaravel
[CLOSED] Avoid page-break with MERGE = ON
Hi,
When Merge is ON in PDF composer , the output for each "BY" value gets displayed in a separate page. For example when the below code is executed , the output for England displays on page 1 and France on page 2 and so on. There is lot of space in page 1 to accommodate another report. In this case is it possible to display the contents of England and France on the same page with the header section and so on? Is it possible to avoid the page-break with MERGE = ON?

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=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.833 1.563), DIMENSION=(5.417 2.083), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 5.417in; HEIGHT: 2.083in; TOP: 1.563in; LEFT: 0.833in', $
END
SET COMPONENT='report1'
-*component_type report
-*focexectool
TABLE FILE CAR
SUM 
     CAR.BODY.DEALER_COST
     CAR.BODY.RETAIL_COST
BY  LOWEST CAR.ORIGIN.COUNTRY
BY  LOWEST CAR.COMP.CAR
BY  LOWEST CAR.CARREC.MODEL
HEADING
"<CAR.ORIGIN.COUNTRY "
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
TYPE=HEADING,
     BACKCOLOR='YELLOW',
$
ENDSTYLE
END
COMPOUND END
  



Can anyone help me on this issue? I am using WebFOCUS 7.7.03.


Thanks,
Kumaravel.M

This message has been edited. Last edited by: Kerry,
February 08, 2013, 01:29 PM
Kamesh
Add RELATIVE-TO.

see the code below. I have RELATIVE-TO next to MERGE=ON.

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=ON, RELATIVE-TO,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.833 1.563), DIMENSION=(5.417 2.083), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 5.417in; HEIGHT: 2.083in; TOP: 1.563in; LEFT: 0.833in', $
END


WFConsultant

WF 8105M on Win7/Tomcat