Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting and Identifying Values
Message
From
04/06/2001 14:05:52
 
 
To
04/06/2001 13:23:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00514598
Message ID:
00514724
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform