Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many different entries
Message
From
18/07/2011 21:16:40
 
 
To
18/07/2011 21:01:21
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01518474
Message ID:
01518476
Views:
49
>does anyone have a clever way of doing this?
>I have a collection of records with a field called Xcr.
>In a table of 20 records, sometimes all the xcr's are identical, most of the time there are 2-5 different entries.
>i would like a code to tell me what that number is.
>
>
>thanks
>k
How about
SELECT COUNT(DISTINCT xcr) FROM myTable
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform