Focal Point
Style Sheet problem

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

February 28, 2006, 01:36 PM
Mike Johnson
Style Sheet problem
I have the following code in my report.

The problem is with the style sheet code at the bottom
I'm trying to change the backcolor for line 3 to red and the forecolor to white. But all I get is the white. Any ideas?


ON TEROT001.COST_CENTER SUBFOOT
" "<5 <+0>RED:<+0> Time Used >= 20% and Money >=10%"
"<5 YELLOW: Time Used >= 15% and Money >=7%"
" " "
" <30 # Contracts that don't meet Time Performance Requirements: <70 " <30 # Contracts that don't meet Money Performance Requirements: <70 " <30 % Time Contracts that Meet Performance: <70 " <30 % Money Contracts that Meet Performance: <70 " " "
" <30 # Contracts that don't meet Time Performance Requirements: <70 " <30 # Contracts that don't meet Money Performance Requirements: <70 " <30 % Time Contracts that Meet Performance: <70 " <30 % Money Contracts that Meet Performance: <70 ON TABLE RECAP
PerMetPerform_time1/P5% = 100 -(TOTTIME_RED / CNT.CONTRACT_ID * 100);
PerMetPerform_money1/P5% = 100 - (TOTMONEY_RED / CNT.CONTRACT_ID * 100);
PerMetPerform_time_pro1/P5% = 100 -((TOTTIME_RED + TOTTIME_YELLOW) / CNT.CONTRACT_ID * 100);
PerMetPerform_money_pro1/P5% = 100 - ((TOTMONEY_RED + TOTMONEY_YELLOW)/ CNT.CONTRACT_ID * 100);
Projected_time1/I5 = TOTTIME_RED + TOTTIME_YELLOW;
Projected_money1/I5 = TOTMONEY_RED + TOTMONEY_YELLOW;
ON TABLE PAGE-BREAK AND SUBFOOT
" "" "
" # Contracts that don't meet Time Performance Requirements: <70 " # Contracts that don't meet Money Performance Requirements: <70 " % Time Contracts that Meet Performance: <70 " % Money Contracts that Meet Performance: <70 "= 20% for Time and >= 10% for Money."
"" "
" # Contracts that don't meet Time Performance Requirements: <70 " # Contracts that don't meet Money Performance Requirements: <70 " % Time Contracts that Meet Performance: <70 " % Money Contracts that Meet Performance: <70 "= 15% for Time and >= 7% for Money."
ON TABLE SET STYLE *
$
TYPE=SUBFOOT,
LINE=3,
BACKCOLOR=RED,
COLOR=WHITE,
STYLE=BOLD,
$
ENDSTYLE
February 28, 2006, 02:13 PM
Prarie
Looks like line 3 is blank?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
well if I change the color=white to color=red the entire line 3 changes to red. if line 3 was blank that should not happen wright?
Well you are changing the entire blank line...try changing it to line 4 and see if you get what you want.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
" <5 RED: Time Used >= 20% and Money >=10%"
" <5 YELLOW: Time Used >= 15% and Money >=7%"

Not sure why, but All I had to do was add a space in front of the <5. Now it works. By the way it was Line 3. Thanks
It was confused somewhere...glad you fixed it.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003