Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using SUM() at the end of a report
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00568629
Message ID:
00568637
Views:
18
>Good day everyone,
>I need some help with the syntax for a report please.
>The end of my report has a few calculated fields of the sum of each field of the report. I would like to then sum those fields together for a grand total on the same end page but I am unsure as to how I need to go about it.
>I get an "Syntax Error" when I try the following code as the expression for field on the report:
>SUM(table.field1,table.field2,table.field3)
>I have the "Calculate field" set to SUM at "End of Report".
>
>Thank you!
>Max
Put
table.field1 + table.field2 + table.field3
in the field.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform