Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SUM not SUMming?
Message
From
01/11/2006 19:31:56
 
 
To
01/11/2006 19:30:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01166137
Message ID:
01166460
Views:
12
Correction to second example -- nSum1 not nSum2
>
>
>SUM nad_nonnationals, nad_nationals TO nSum1, nSum2
>WAIT WINDOW TRANSFORM(nSum1) + " + " + ;
> TRANSFORM(nSum2) + " = " + ;
> TRANSFORM(nSum1+nSum2)
>
> or
>
>SUM nad_nonnationals TO nSum1
>WAIT WINDOW TRANSFORM(nSum1) + " + " + ;
> TRANSFORM(reccount() - nSum1) + " = " + ;
> TRANSFORM(reccount())
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform