Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many unique records do I have?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00408894
Message ID:
00411931
Views:
14
Just thought I would jump in here with the one millionth suggestion :):

SELECT COUNT(DISTINCT StudentID)

lnDistinctCount = _TALLY


>I have a table with student ids. Some ids
>occur more than once. I'd like a count at the
>bottom of the report of UNIQUE ids, not just
>the number of records.
>
>Say there are 100 records, but only 86 unique ids.
>I'd like the '86' to show in my total field.
>
>Any suggestions? For now, I just ran another query
>and used a separate table with that one number to
>place it there. This seems sloppy.
Chris McCandless
Red Sky Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform