Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of groups
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00101101
Message ID:
00102938
Vues:
29
>>>>I have a report with data grouping.
>>>>How can I count the number of the groups?
>>>>Thank you.
>>>
>>>add a variable to the report, set to count, reset at desired group.
>>
>>I don't want to count the number of records in one group bot the number of different groups in the whole report.
>
>
>I found the solution.
>We have to create two variables N1 and N2 with these parameters:
>
>
> N1 N2
>__________________________________________________________________
>Value to store: 0 iif(N1=1,1,0)
>Initial value: 0 0
>Reset at: "name of the group" End of Report
>Calculate: Count Sum
>__________________________________________________________________
>
>Variable N2 is what we need.
>
>
>Interesting, isn't it.

And check Vlad Tatavu's solution using a public variable, too, from earlier in the thread.
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform