Focal Point
[SOLVED] Compound PDF puts last report on a seperate page.

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

August 17, 2009, 08:40 AM
Jason K.
[SOLVED] Compound PDF puts last report on a seperate page.
I have 4 reports that I've combined with the PDF layout painter into 2 pages. The second page has 3 reports of fixed size as shown in the code below.

When the report is run, it will occasionally throw the last report ("report4") on a third page, aligned vertically where it should be on the second page. The report shows a blank spot on the second page where "report4" should be.

SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5', MERGE=ON,
ORIENTATION=PORTRAIT, PAGESIZE=Legal, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1,
BOTTOMMARGIN=0.5, TOPMARGIN=0.5, ORIENTATION=LANDSCAPE,
METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,ORIENTATION=LANDSCAPE,',
$
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.1 0.1),
DIMENSION=(* *), $
PAGELAYOUT=2, NAME='Page layout 2', text='Page layout 2',
TOC-LEVEL=10, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, ORIENTATION=LANDSCAPE,
METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,ORIENTATION=LANDSCAPE,',
$
COMPONENT='report2', TEXT='report2', TOC-LEVEL=3, POSITION=(0.1 0.1),
DIMENSION=(13.0 3.5), $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=4, POSITION=(0.1 2.8),
DIMENSION=(13.0 3.5), $
COMPONENT='report4', TEXT='report4', TOC-LEVEL=11, POSITION=(0.1 4.75),
DIMENSION=(13.0 3.5), $
END
SET COMPONENT='report1'
-INCLUDE app/non_op_a
COMPOUND
END
SET COMPONENT='report2'
-INCLUDE app/non_op_b
COMPOUND
END
SET COMPONENT='report3'
-INCLUDE app/non_op_c
COMPOUND
END
SET COMPONENT='report4'
-INCLUDE app/non_op_d
COMPOUND
END

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


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
August 18, 2009, 01:19 AM
SureshKumar
Hi Jason,
Experienced a similar problem. Suggest to check and reduce the Footgap of the 3rd report.


Webfocus 8002M, 8009
OS: Windows7
August 18, 2009, 05:55 AM
Tony A
Jason,

Check out the syntax for OVERFLOW-POSITION and OVERFLOW-DIMENSION to achieve what you need.

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 
August 18, 2009, 03:33 PM
Jason K.
Thanks guys...it just started working the way it should after I played with the frame sizes a little.

Didn't know about the overflow stuff, tony. Thanks.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.