Focal Point
[CLOSED] Relative positioning the Reports two side-by-side Reports.

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

June 28, 2010, 08:49 AM
Santhu
[CLOSED] Relative positioning the Reports two side-by-side Reports.
Hi All,

I am working on Composer Layout Painter.
Where i want to Place Report 2 beside Repot 1.
Report 1 - is a Crosstab Report.
Report 2 - Just a Small report with two Columns.

By using the composer Layout Relative-Positioning is possible for top and bottom reports.
we can't position two reports relatively left and right.

Thanks and Regards,
Santhosh Kumar V

This message has been edited. Last edited by: Kerry,


WebFOCUS 8.0.0.7 App Studio
June 28, 2010, 11:43 AM
Kathy P
I played with it to no avail. Sounds like a new feature request. It would work great if you could put the second report first and then the second one.


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
June 29, 2010, 08:04 AM
trob
Can you post a sample of your two reports so we have something to play with.


------------------------------------------
DevStudio 8.2.03
WFS 8.2.03
June 30, 2010, 03:22 AM
Santhu
-* File cmpd1
-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, $
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.520 0.624), DIMENSION=(* *), METADATA='Z-INDEX: 100; LEFT: 0.52in; OVERFLOW: auto; WIDTH: 2.917in; POSITION: absolute; TOP: 0.624in; HEIGHT: 2.708in', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(+3.441 -2.604), DIMENSION=(* *), RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, METADATA='Z-INDEX: 100; LEFT: 3.961in; OVERFLOW: auto; WIDTH: 2.706in; POSITION: absolute; TOP: 0.728in; HEIGHT: 2.713in', $
END
SET COMPONENT='report1'
TABLE FILE CAR
PRINT
COUNTRY
CAR
RETAIL_COST
END

SET COMPONENT='report2'

TABLE FILE CAR
PRINT
COUNTRY
CAR
RETAIL_COST
END
COMPOUND END

This message has been edited. Last edited by: Santhu,


WebFOCUS 8.0.0.7 App Studio
June 30, 2010, 07:25 PM
Dan Satchell
Sorry, I'm not really familiar with the Composer Layout Painter tool, but this code seems to produce side-by-side reports.

SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, $
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.520 0.624), DIMENSION=(* *), METADATA='Z-INDEX: 100; LEFT: 0.52in; OVERFLOW: auto; WIDTH: 2.917in; POSITION: absolute; TOP: 0.624in; HEIGHT: 2.708in', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(+5.0 -3.5), DIMENSION=(* *), RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, METADATA='Z-INDEX: 100; LEFT: 3.961in; OVERFLOW: auto; WIDTH: 2.706in; POSITION: absolute; TOP: 0.728in; HEIGHT: 2.713in', $
END
-*
SET COMPONENT='report1'
TABLE FILE CAR
 PRINT
  COUNTRY
  CAR
  RETAIL_COST
END
-*
SET COMPONENT='report2'
TABLE FILE CAR
 PRINT
  SALES/D9.2
 ON TABLE SET PAGE NOPAGE
END
COMPOUND END



WebFOCUS 7.7.05
July 01, 2010, 02:27 AM
Tony A
quote:
POSITION=(+5.0 -3.5), RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT,
These are the important commands to understand.

Once you get your head around these you will comprehend how to get the result you want - and then you might move to the editor instead of the GUI Wink

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10