Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varaible and counting question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01043970
Message ID:
01043979
Vues:
21
>I have a report, where all the data is printed in a group header and nothing in the details.
>
>This is because the query will return mutliple records per person, but they only want the first record for the person to print. Now I need to add a total count to print at the bottom of the report. Basicly every time a group header prints, I need to increment a report variable by one. Anybody know the best way to do that?
>
>Thanks
>
>Kirk

I guess the simplest way would be to use Report Group Header OnExit function something like that _VFP.SetVar("nCounter",nCounter+1)

You would need to have nCounter variable created in the program which calls the report or in report itself in its DE. But then it has to be public and released too.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform