[CLOSED]Coordinated Compound Rpt with Relative positioning & Page-break - Not Working
I am trying to create a Coordinated compound report with relative positioning and burst it with ReportCaster.
Scenario: Explaining with the car master - Need to create a PDF file for each country and page-break by car, Executing the below code With bursting i get 5 PDF files (One for each country) with details of one car in each page.
APP PATH IBISAMP
SET HTMLARCHIVE=ON
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.625 0.521), DIMENSION=(5.000 5.000), $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.625 2.583), DIMENSION=(5.000 8.000), $
END
SET COMPONENT='report1'
-*component_type report
TABLE FILE CAR
SUM SALES AS ''
BY COUNTRY AS ''
BY CAR AS ''
ON CAR PAGE-BREAK
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET STYLE *
TYPE=DATA,STYLE=BOLD,BACKCOLOR=WHITE,COLOR=BLACK,BORDER=1.0,$
ENDSTYLE
END
SET COMPONENT='report2'
-*component_type report
TABLE FILE CAR
SUM
DEALER_COST AS ''
RETAIL_COST AS ''
BY COUNTRY AS ''
BY CAR AS ''
ON CAR PAGE-BREAK
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET STYLE *
TYPE=DATA,STYLE=BOLD,BACKCOLOR=WHITE,COLOR=BLACK,BORDER=1.0,$
ENDSTYLE
END
-RUN
COMPOUND END
However when i try to change it to relative positioning between report 1 and report 2 , it generates inconsistent positioning of the report. Is there a way to achieve this ? Below is the compound report layout i used for trial.