Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I represent three-dimensions on a form? CrossTAB?
Message
De
16/03/2001 12:18:13
J Chris Powell
Myers and Stauffer Lc
Kansas, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00416181
Message ID:
00485976
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform