Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to count the number of groups in a report?
Message
De
13/06/1996 07:26:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00002172
Message ID:
00002268
Vues:
28
>I have a report that has one grouping data, say
>myGroup_id. It is fairly simple to define a report
>variable to count the number of records for each
>different value of myGroup_id.
>
>But, How do you define a variable that counts the
>number of distinct values myGroup_id takes at the
>end of the report?

i can think of a couple of ways to achive this

1. calculate it befoe the report and print that var inside the report
2. add a variable to the report and use the On Entry expression
to add 1 to the new var. (eg. lnCounter=lnCounter+1 :) )

Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform