[CLOSED] STYLE SHEET - is there a way to Col @ Data Level with condition
Hi All:
Have several data columns with $ Values.. I know individually I can color it based on the value.. BUT is there a way to specify at the DATA level to display any negative number in different color, for example RED..
ThanksThis message has been edited. Last edited by: <Kathryn Henning>,
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
October 16, 2014, 04:50 PM
susannah
and TYPE=DATA,COLUMN=THING,COLOR=RED,WHEN=THING LT 0,$ doesn't work for you???
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
October 16, 2014, 04:57 PM
Waz
Wow, quick....
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
October 17, 2014, 11:25 AM
FOCdeveloper
Thanks Susannah. Yes It does.. but I was hoping to not use COLUMN..
Thanks
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
October 18, 2014, 05:55 PM
susannah
i'm going to resist every temptation to ask 'Why not?'... ok, if you are willing to xlate your data item from numeric to alpha (use FPRINT for max control), then you can DEFINE a text variable that contains the font color tag surrounding the FPRINTed value. got it?
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
There are 3 types of identifiers to refer a column.. P,N,CThis message has been edited. Last edited by: Rifaz,
-Rifaz
WebFOCUS 7.7.x and 8.x
October 20, 2014, 11:36 AM
FOCdeveloper
Susannah I have 12 Mons Buckets + total column for 30 rows.. Rifaz, Thanks Tried your approach it works fine but my currency fields are mentioned in subheads
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7