July 05, 2006, 08:49 AM
Lenny WardExtra line between heading and data
I have a PDF report that has a heading and then data. I am not using a title.
When I include a bottom border I get an extra line between the heading and data.
Has anyone seen this behavior before?
Thanks,
SET PRINTPLUS = ON
DEFINE FILE CAR
LINE1COL2/A15 = 'Number of';
LINE2COL1/A15 = 'Model';
LINE2COL2/A15 = 'Seats';
END
TABLE FILE CAR
SUM SEATS AS ''
BY MODEL AS ''
HEADING
"
"
ON TABLE SET PAGE-NUM OFF
ON TABLE SET PAGE NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=0.00000, RIGHTMARGIN=0.00000,
TOPMARGIN=0.00000, BOTTOMMARGIN=0.00000, SQUEEZE=OFF, GRID=OFF,
ORIENTATION=LANDSCAPE, $
TYPE=HEADING, FONT='Arial', SIZE=11, STYLE=BOLD, COLOR=BLACK, $
TYPE=HEADING, LINE=1, OBJECT=FIELD, ITEM=1, POSITION=2.50, $
TYPE=HEADING, LINE=2, OBJECT=FIELD, ITEM=1, POSITION=0.00, $
TYPE=HEADING, LINE=2, OBJECT=FIELD, ITEM=2, POSITION=2.50, $
TYPE=REPORT, FONT='Arial', SIZE=11, STYLE=NORMAL, COLUMN=P1, POSITION=0.00, $
TYPE=REPORT, FONT='Arial', SIZE=11, STYLE=NORMAL, COLUMN=P2, POSITION=2.30, $
TYPE=REPORT, FONT='Arial', SIZE=11, STYLE=NORMAL, COLUMN=P3, POSITION=3.35, $
-* COMMENT OUT THIS LINE AND THE EXTRA SPACING GOES AWAY
TYPE=DATA, BORDER-BOTTOM=LIGHT, BORDER-BOTTOM-COLOR=RGB(001 107 180), $
ENDSTYLE
END
July 10, 2006, 12:17 PM
Francis MarianiThe same happens in WF 5.3.2. Mysterious, but I'm not surprised. In an HTML report, turning GRID ON or OFF affects whether the Column Titles are underlined or not - not related, but still affected. I guess the same goes for PDF and BORDER.
By the way, I assumed your Heading lines looked like this (they were missing, probably because of the < symbol):
HEADING
"<LINE1COL2"
"<LINE2COL1 <LINE2COL2"
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
July 10, 2006, 12:42 PM
Lenny WardThat is correct on the headings.
I think I might open up a case with IBI.