Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of groups
Message
From
24/05/1998 09:40:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/05/1998 03:24:50
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00101101
Message ID:
00101494
Views:
24
>>>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.
>
>This doesn't count the groups. Report variables are calculated in the detail level.
>
>Vlad

Another similar solution would be to have a variable to keep the previous record's group expression value, then another one to increment by one if this variable is unequal to the actual group expression value. Needs some tweaking and fiddling, and paying close attention to order of creation of variables, but can be done.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform