Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COUNTing my SELECTion
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
COUNTing my SELECTion
Miscellaneous
Thread ID:
00850715
Message ID:
00850715
Views:
66
Hello Foxperts,

Working in FPD/2.5 (!), I've got most of what I need from this statement:
SELECT t_date, user, COUNT(pay_track), SUM(payment)  FROM u_hpay ; 
	GROUP BY t_date, user  INTO ARRAY uhp_tmp
The COUNT() is the focus of this question:
I'm getting the number of pay_track entries (as expected).
How can I get the number of unique pay_track entries?
TIA,
Randy Bosma
VFP - Because life is too short to code in something else...
Next
Reply
Map
View

Click here to load this message in the networking platform