I have report where doing RECAP and showing this recap totals in subfoot. But need to show the value in red font color if the value is less than zero. I am able to do this in data but if I do it conditional style and apply to subfoot it does for all the columns of recap where I need to do for each recap value if it's value less than zero show in red font color and other total in normal black font color.
Please let me know if you have any suggestions.
Thanks!This message has been edited. Last edited by: Kerry,
September 18, 2012, 02:48 PM
Maybe try to tell the style to only use it on a certain field/column. Just add the following to what you have:
WF: 8201, OS: Windows, Output: HTML, PDF, Excel
September 19, 2012, 02:08 AM
-* File vir01.fex
TABLE FILE CAR
SUM RCOST DCOST
ON COUNTRY RECAP
RATIO=RCOST / DCOST;
ON COUNTRY SUBFOOT
"Ratio for <COUNTRY is <RATIO "
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
type=subfoot, object=field, item=2, color=red, WHEN=RATIO GT 1.20, $
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
September 19, 2012, 02:04 PM
Thanks Daniel with example. I will try it out and let you know the result.
Thanks all for your suggestion.
September 25, 2012, 05:11 AM
Suggest you removedrop the include if you want this to work as is.