Is there a way I can get it to display like: ALFA ROMEO TITLE1 TITLE2 xxxxxxxxxxx 19565 510 xxxxxxxxxxx 16235 188
(The x's are spaces)
Eric
dev: WF 7.6.5 w/IIS + Tomcat
prod: WF 7.6.5 w/IIS + Tomcat
October 22, 2007, 07:23 PM
Tom Flynn
.eric,
Here's an idea, there may be others:
DEFINE FILE CAR DUMMY/A1 = ' '; END TABLE FILE CAR SUM RETAIL_COST AS '' LENGTH AS '' OVER DEALER_COST AS '' WIDTH AS '' BY DUMMY NOPRINT BY CAR AS '' ON DUMMY SUBHEAD "Car <+0> Title1 <+0> Title2" ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $ TYPE=REPORT, SQUEEZE=ON, GRID=ON, WRAP=ON, FONT='ARIAL', SIZE=9, STYLE=BOLD, JUSTIFY=CENTER, $ -******************************************************************** -* Align the headings -******************************************************************** TYPE=SUBHEAD, BACKCOLOR=RGB(176 196 222), HEADALIGN=BODY, $ END
A slight modification to Tom's code gives exactly what you wanted -
DEFINE FILE CAR
DUMMY/A1 = ' ';
END
TABLE FILE CAR
SUM DUMMY AS ''
RETAIL_COST AS ''
LENGTH AS '' OVER
DUMMY AS ''
DEALER_COST AS ''
WIDTH AS ''
BY CAR AS '' NOPRINT
ON CAR SUBHEAD
"<CAR Title1 <+0> Title2"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $
TYPE=REPORT, GRID=OFF, WRAP=ON, FONT='ARIAL', SIZE=9, STYLE=BOLD, $
TYPE=TITLE, JUSTIFY=CENTER, $
-* Align the headings
TYPE=SUBHEAD, BACKCOLOR=RGB(176 196 222), HEADALIGN=BODY, $
ENDSTYLE
END
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
October 23, 2007, 09:22 AM
.eric
Looks good, thanks guys!
Eric
dev: WF 7.6.5 w/IIS + Tomcat
prod: WF 7.6.5 w/IIS + Tomcat
October 23, 2007, 10:16 AM
.eric
Is there a way to get this to work in PDF format?
Eric
dev: WF 7.6.5 w/IIS + Tomcat
prod: WF 7.6.5 w/IIS + Tomcat
October 23, 2007, 10:20 AM
Prarie
SET PRINTPLUS=ON Take out the word WRAP.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
October 23, 2007, 10:36 AM
.eric
The printplus doesn't look to help. The column headings aren't aligning with the body.