Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variables for a report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01011852
Message ID:
01011863
Views:
18
This message has been marked as the solution to the initial question of the thread.
What it sounds like you are doing is summing the final totals for the report, such as a summary page printed up front, or to be used for aggregates to calc final percentages, etc.

An approach I have done is what you have, but a step further.

From your preliminary cursor grouping, I would select a SUM(), COUNT(), AVG(), or whatever else with NO grouping into respective total column names in a C_ReportTotalsCursor.

Then, in the report, refer to C_ReportTotalsCursor.MySummaryField

Then, when the report is done, close the cursor and your all set.
Previous
Reply
Map
View

Click here to load this message in the networking platform