Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variables for a report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01011852
Message ID:
01011863
Vues:
19
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform