Greetings,
I'l like to place a border around the outside of one data column.
I'm on WF 5.2.6, and creating a PDF formatted report.
Here is a technque I came up with:
TABLE FILE CAR<br />HEADING<br />"Basic CAR Report."<br />PRINT CAR AS ''<br />COMPUTE LINE_NO/I3 = LINE_NO + 1; NOPRINT<br />BY COUNTRY<br />ON TABLE PCHOLD AS RPTPDF1 FORMAT PDF<br />ON TABLE SET STYLE *<br />-* Place a border around the CAR data column.<br /> TYPE=DATA, COLUMN=N2, BORDER-LEFT=ON, BORDER-RIGHT=ON,<br /> BORDER-COLOR=RGB(102 0 0),<br /> BACKCOLOR=RGB(255 255 204),$<br /> TYPE=DATA, COLUMN=N2, BORDER-TOP=ON,<br /> BORDER-COLOR=RGB(102 0 0),<br /> WHEN=LINE_NO EQ 1,$<br /> TYPE=DATA, COLUMN=N2, BORDER-BOTTOM=ON,<br /> BORDER-COLOR=RGB(102 0 0),<br /> WHEN=LINE_NO EQ 10,$<br />ENDSTYLE<br />END
Is this the best way to to this type of thing with Stylesheet syntax?
(This technique requires me to know the ending line number, in advance of running the TABLE command.)
I couldn't find a way to specify the entire column as a whole object.
Thank you for your consideration.
Regards,
Dave