Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about SUM
Message
From
11/08/2000 11:19:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Question about SUM
Miscellaneous
Thread ID:
00403954
Message ID:
00403954
Views:
48
>Hi Rick
>Still trying to get the SUM to work. Every time I use SUM(mydata), it returns the message "SUM.PRG not found. Suggestions? Thanks.

Don't use parentheses around the expression to be SUM'd. Using your other example, the correct syntax would be
SUM code1+code2+code3 TO loReg1July FOR reg='1' AND fy='01'
Note that there are no parentheses needed around the code1+code2+code3 expression.
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Next
Reply
Map
View

Click here to load this message in the networking platform