|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Platinum Member |
Hi all, I have a FEX with a GrandTotal and a SUBFOOT. I want to have a calculated value appear in the SUBFOOT but all I get are zeroes.
This is how the field gets calulated: COMPUTE DPL%_WTD/D5.1% = IF DTY_WTD NE 0 THEN (DTY_WTD - DPL_WTD) / DPL_WTD * 100 ELSE 0; NOPRINT[/code]But when I try to use in the SUBFOOT, all I get is zero. Any Ideas? ON TABLE SUBFOOT "NON-HOUSE:<0+> This message has been edited. Last edited by: <Mabel>, |
||
|
|
Guru |
Take a look at the following posts:
http://forums.informationbuilders.com/eve/forums/a/...001097331#5001097331 I think all you may have to use is <ST.fieldname This message has been edited. Last edited by: <Mabel>, |
|||
|
|
Platinum Member |
Thanks Curtis I figured that out probably right after I posted....now...how can I get my negatives in that subfoot to show red?
|
|||
|
| <Pietro De Santis>
|
Not sure, but you may try the following:
TYPE=DATA, ITEM=2, COLOR=RED, WHEN= ST.field-name LT 0, $ TYPE=DATA, ITEM=3, COLOR=RED, WHEN= ST.field-name LT 0, $ ... |
||
|
|
Platinum Member |
Pietro, that didnt work I have also tried:
TYPE=FOOTING, ITEM=5,COLOR='RED',STYLE=NORMAL,WHEN=ST.DPL%_WTD LT 0,$ TYPE=TABFOOTING, ITEM=5,COLOR='RED',STYLE=NORMAL,WHEN=ST.DLY%_WTD LT 0,$ and none worked..... |
|||
|
| <Pietro De Santis>
|
Sorry, I did mean SUBFOOT.
TYPE=SUBFOOT, ITEM=2, COLOR=RED, WHEN= ST.field-name LT 0, $ TYPE=SUBFOOT, ITEM=3, COLOR=RED, WHEN= ST.field-name LT 0, $ ... |
||
|
|
Platinum Member |
No, that didn't work either. SUBFOOT isn't an acccepted type.
Actually, I've got the syntax to turn everything RED figured out, it's just the "WHEN" clause that isn't working correctly, does anyone know if this allowed or not? This is basically how I'm trying to do it, the first line will turn on RED regardless of the value, the second line doesn't appear to work because of the WHEN clause. TYPE=TABFOOTING, OBJECT=FIELD, ITEM=4,COLOR='RED',STYLE=NORMAL,$ TYPE=TABFOOTING, OBJECT=FIELD, ITEM=5,COLOR='RED',STYLE=NORMAL,WHEN=ST.DLY%_WTD LT 0,$ This message has been edited. Last edited by: <Mabel>, |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

