Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help for SQL
Message
 
 
À
16/04/2008 13:27:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01311183
Message ID:
01311222
Vues:
16
>
>Select ;
>   Main.DCode, ;
>   Main.PCode, ;
>   SUM(Payment), ;
>   sum(CAST(IIF(Disount>0,1,0) as I ) as DisNum, ;
>   sum(CAST(IIF(Disount>0,0,1) as I ) as UnDisNum ;
>From Main ;
>Group by Main.DCode,Main.PCode ;
>Into cursor TempCrs Readwrite
>
Yes, in VFP9. I was thinking about it but for previous versions 0000000000 technique should work.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform