Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting distinct fields in data grouping report
Message
 
À
20/06/2001 14:10:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00521590
Message ID:
00521658
Vues:
17
Add these variables to the report:
          Value to store                     Initial Value    Reset at
          ---------------------------------------------------------------
prevShip  currShip                           currShip         End of report
currShip  Ship                               Ship             End of report
nShip     nShip+iif(prevShip<>currShip,1,0)  1                End of report
nShip will count the groups.
The variable prevShip must be before currShip in the report variable list.
Not very elegant, but works for me...
Doru
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform