Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SUM not SUMming?
Message
From
01/11/2006 19:30:29
 
 
To
01/11/2006 09:37:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01166137
Message ID:
01166459
Views:
14
Simplify expression?


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() - nSum2) + " = " + ;
TRANSFORM(reccount())
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform