Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting distinct fields in data grouping report
Message
From
20/06/2001 14:10:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Counting distinct fields in data grouping report
Miscellaneous
Thread ID:
00521590
Message ID:
00521590
Views:
47
Hi readers!,

I have a data group report where I need to count how distinct shipments I made, but I don't know how to create a variable that only increments when a data group changes. Important do not use a view.

My table:
shipment lot qty
1511 123A 210
1511 121 100
1512 125 300
1513 145 300
1513 124 280

I got the next result in my report

Shipment qty
1511 310
1512 300
1513 580

Total Shipments -> 5 (wrong must be 3 !)
Qty -> 1190

Regards
Martin
Next
Reply
Map
View

Click here to load this message in the networking platform