Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need Help in VB Codes
Message
General information
Forum:
Visual Basic
Category:
Other
Title:
Need Help in VB Codes
Miscellaneous
Thread ID:
00637268
Message ID:
00637268
Views:
46
Underneath is the SQL code I use to retrive data stored in SQL. I am trying to covert it into VB codes. It works when I do the COUNT only, but it won't let me do the DISTINCTCOUNT. Can anyone help me with this code to do the distinct count. Thanks in advance.

SELECT * FROM QMIdouble WHERE edmemb IN (SELECT edmemb FROM
QMIdouble Group by edmemb Having Count(DISTINCT(pmfdid + '-'+ pmfdsf)) > 1)
Next
Reply
Map
View

Click here to load this message in the networking platform