Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of groups
Message
From
28/05/1998 12:55:20
 
 
To
28/05/1998 01:23:35
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00101101
Message ID:
00102787
Views:
34
>>>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.
>
>I don't want to count the number of records in one group bot the number of different groups in the whole report.


I found the solution.
We have to create two variables N1 and N2 with these parameters:


N1 N2
__________________________________________________________________
Value to store: 0 iif(N1=1,1,0)
Initial value: 0 0
Reset at: "name of the group" End of Report
Calculate: Count Sum
__________________________________________________________________

Variable N2 is what we need.


Interesting, isn't it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform