August 20, 2007, 03:31 PM
SGReport/Page Layout
Hi,
I am having a problem to set report layout.
My reguirement is to use
LEFTMARGIN=0.013889,
TOPMARGIN=0.013889,
but only leftmargin works,top margin has extra space than needed. How do I suppress extra space from top margin.
Thanks,
SG.
August 20, 2007, 03:49 PM
Leahquote:
margin has extra space than needed. How do I suppress extra space from top margin.
Do you have PAGE = NOLEAD on? Otherwise Focus adds some margin space at the top for page numbers.
August 20, 2007, 04:21 PM
SGquote:
PAGE = NOLEAD
Hi Leah
I just added it but it did not remove extra.
Thanks,
SG
August 20, 2007, 04:33 PM
Francis MarianiSG,
It should work, unless something else in the WebFOCUS stylesheet is causing a larger top margin, or something in the page heading...
This works:
TABLE FILE CAR
SUM SALES
BY COUNTRY
HEADING
"WEBFOCUS REPORT"
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
TYPE=REPORT,
GRID=OFF, SQUEEZE=ON,
FONT='ARIAL', SIZE=8,
LEFTMARGIN=0.013889, TOPMARGIN=0.013889,
$
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
August 20, 2007, 05:31 PM
SGThanks Francis and Leah, its working now.
SG.