Focal Point
[CLOSED] Subfoot Condition formatting

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3797022426

September 18, 2012, 01:19 PM
Vir
[CLOSED] Subfoot Condition formatting
Hello,

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
Crymsyn
Maybe try to tell the style to only use it on a certain field/column. Just add the following to what you have:

 FIELD=(Field name),



WF: 8201, OS: Windows, Output: HTML, PDF, Excel
September 19, 2012, 02:08 AM
Danny-SRL
An example:
  
-* File vir01.fex
TABLE FILE CAR
SUM RCOST DCOST
BY COUNTRY
BY CAR
ON COUNTRY RECAP
RATIO=RCOST / DCOST;
ON COUNTRY SUBFOOT
"Ratio for <COUNTRY is <RATIO "
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
 include=endeflt,
$
type=subfoot, object=field, item=2, color=red, WHEN=RATIO GT 1.20, $
ENDSTYLE
END



Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

September 19, 2012, 02:04 PM
Vir
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
Ian Dalton
Suggest you removedrop the include if you want this to work as is.


_______________________
*** WebFOCUS 8.1.05M ***