Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculation Problems
Message
 
 
To
26/08/2000 02:20:08
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00409508
Message ID:
00409585
Views:
17
>>OK, I give. In a report I created a variable called lnSubtotal and in its value to store I put SUM(viewname.numericfieldname). I received a "'Sum.prg' does not exist". I tried other combinations such as SUM(viewname.numericfieldname) TO lnSubtotal, SUM viewname.numericfieldname, and CALCULATE SUM(viewname.numericfieldname).
>>
>>What is the correct syntax?
>>
>>Thanks
>>JD
>
>OK. I found it (... again - things that make you go "Duh"). But when It sums with a currency format, I have about eight zeros after the decimal. What did I do wrong?

Isn't something related to your format? Make sure that it is set to numeric.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform