Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of groups
Message
De
28/05/1998 12:55:20
 
 
À
28/05/1998 01:23:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00101101
Message ID:
00102787
Vues:
35
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform