Column Title Formatting



Column Title Formatting

By Warren Hinchliffe

I was mucking around with MARKUP=ON, and found that you can style the column titles, in fact bits of the titles.
This tip is also posted on Focal Point.

-SET &RELNO = EDIT(&FOCREL,'$$$$999') ;

-SET &_V71 = IF &RELNO GE 710 AND &RELNO LE 760 THEN '-*' ELSE '' ;
-SET &_V76 = IF &RELNO GE 760 THEN '-*' ELSE '' ;

TABLE FILE CAR
PRINT CAR   AS '[b]Car[/b],[i]Name[/i]'
      MODEL AS '[i]]<u>M</u>odel[/i]'
&_V71.EVAL BY COUNTRY AS '<font face="arial" size=12 color=#FF9933>Country</font>,
<font face="arial" size=8 color=#0066FF>Name</font>'  
&_V76.EVAL BY COUNTRY AS '[b]Country[/b],<sup>Name</sup>'  
ON TABLE PCHOLD FORMAT PDF
-*ON TABLE SET NEWLAYOUT ON 
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
UNITS=CM, PAGESIZE='A4', LEFTMARGIN=0.635000, RIGHTMARGIN=0.635000,
    TOPMARGIN=0.635000, BOTTOMMARGIN=0.635000,
    SQUEEZE=ON,
    ORIENTATION=LANDSCAPE, $
TYPE=REPORT, FONT=ARIAL, SIZE=10, MARKUP=ON, $
END


If any questions, please contact Warren at warren.hinchliffe@linkmarketservices.com.au.