Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>For example, if your group breaks on a field 'MyData.TYPE' Make 2 variables. The first is cType, Value to Store: MyData.TYPE, Initial Value: '' (Use the correct type here, '0' for numeric, etc.)
>
>The second is GroupTot,
>Value to Store: grouptot + iif(ctype = MyData.TYPE, 0, 1), Intial Value: 0.
>
>Put them BOTH in the group footer. If you don't want to see the cType variable, simply set the Print When to .F..
You can define report variables (not fields) that are never printed unless you define a field that prints such a variable.
Just as a VFP trick, I believe this can be done 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
This way, at detail level, its value remains unchanged and it increments when the group changes.
Probably this will work... :)
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement