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:
00101801
Vues:
30
I see, now. You're right - I didn't have the variable re-setting correctly.

Barbara

>Nope, we are talking about the same thing. Here's what I proposed (I just tested it and it works):
>>>>>
>A VFP trick, count groups with just one public variable defined outside the report:
>
> MyCounter = 0 && Outside the report
>
> Define a report variable with the name "MyCounter":
>
> Initial value: MyCounter = MyCounter + 1
> Value to store: MyCounter
><<<<
>
>It's a trick because it uses the Initial value to increment the counter (the Value to Store is not used, it just copies the previous value).
>
>Almost obvious, the variable must be reset at group level (otherwise, the counter is not incremented).
>
>Vlad
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform