Focal Point
[CLOSED] Relative Positioning in compound document

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

October 08, 2015, 02:54 PM
Trudy
[CLOSED] Relative Positioning in compound document
I am placing two reports in a compound document. When I try to add relative positioning I get and error message when I run the procedure. It runs fine without the relative positioning. Here is the error message I am getting.

(FOC3304) Current COMPONENT precedes RELATIVE-TO COMPONENT
Compound Report is TERMINATING

Below is the compound document fex

-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT DHTML
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=OFF, 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='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(+0.000 +0.240), DIMENSION=(7.488 0.911), RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.708in; top: 3.75in; width: 7.488in; height: 0.911in; position: absolute; z-index: 2;', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.708 0.833), DIMENSION=(* *), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.708in; top: 0.833in; width: 7.447in; height: 2.677in; position: absolute; z-index: 3;', $
OBJECT=STRING, NAME='text1', TEXT='Eastern CT State University', POSITION=(0.498 0.522), MARKUP=OFF, WRAP=ON, DIMENSION=(4.646 0.205), font='TREBUCHET MS', color=RGB(0 0 0), style=bold, size=14, METADATA='left: 0.498in; top: 0.522in; width: 4.646in; height: 0.205in; color: rgb(0, 0, 0); font-family: TREBUCHET MS; font-size: 14pt; font-weight: bold; position: absolute; z-index: 4; -ms-word-wrap: break-word;', $
END
SET COMPONENT='report2'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/Admissions/appl_statistics.fex
SET COMPONENT='report1'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/Admissions/appl_statistics_Copy_1.fex
COMPOUND END

This message has been edited. Last edited by: <Kathryn Henning>,


WF8
Windows
October 09, 2015, 09:16 AM
Doug
Please try it after increasing, within the GUI, the vertical position of the second report to be at least .01 below report1.
~ OR ~
Place the first report, in text edit, above the second report. It may be that it's interpreting the placement of "COMPONENT='report2'" before it knows about "COMPONENT='report1'"




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206