Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I represent three-dimensions on a form? CrossTAB?
Message
From
16/03/2001 12:18:13
J Chris Powell
Myers and Stauffer Lc
Kansas, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00416181
Message ID:
00485976
Views:
25
It's a strange concept, but the zero's have to have the same structure as the field. Think of it as a picture clause :o)

sele svc, size, atr, ;
sum(iif(atr = 'CB03', amount, 0.00)) as b03amt, ;
sum(iif(atr = 'CB02', amount, 0.00)) as b02amt, ;
sum(iif(atr = 'CB01', amount, 0.00)) as b01amt, ;
sum(iif(atr = 'CB01', qty, 0.00)) as b01qty,;
sum(iif(atr = 'CB02', qty, 0.00)) as b02qty,;
sum(iif(atr = 'CB03', qty, 0.00)) as b03qty;
from junk3 into cursor cuCharges_sum ;
group by svc, size order by svc
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform