Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting and Identifying Values
Message
De
04/06/2001 14:05:52
 
 
À
04/06/2001 13:23:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00514598
Message ID:
00514724
Vues:
11
These are all awesome ideas. Now I have so many choices that I can't make up my mind which one to go with.
Pretty much this is what I was thinking at the begining, but I got hanged up on the idea of doing it w/one query.

thanks a lot guys.


>How about:
>
>
>CALCULATE SUM (R1), SUM (R2), ... TO ARRAY aColSums
>lnTotal = 0
>FOR X = 1 TO ALEN (aColSums, 1)
>    lnTotal = aColSums [X] + lnTotal
>ENDFOR
>
>
>With 30 fields, you may run into a limit issue, but this can be resolved by breaking into multiple runs.
>
> Jay
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform