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]Coordinated Compound Rpt with Relative positioning & Page-break - Not Working
Go
New
Search
Notify
Tools
Reply
  
[CLOSED]Coordinated Compound Rpt with Relative positioning & Page-break - Not Working
 Login/Join
 
Member
posted
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.

  

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.5000 0.5000), DIMENSION=(* *), $
COMPONENT='report2',TEXT='report2', TOC-LEVEL=2, POSITION=(0.5000 +0.100), DIMENSION=(* *), RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, $
END



Thank you in advance.

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


WEBFOCUS 82
Windows X64
HTML,PDF,EXCEL
 
Posts: 10 | Registered: December 08, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Prad

I played with this and didn't have any luck either. I suggest you open a case with techsupport if you haven't already.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1814 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Coordinated Compound Rpt with Relative positioning & Page-break - Not Working

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