Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting distinct fields in data grouping report
Message
 
To
20/06/2001 14:10:37
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00521590
Message ID:
00521658
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform