Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can this be done with SQL statement
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728373
Message ID:
00728417
Views:
14
Gerard,

Your problem is that the * is getting both fields, simply change the select to ...
SELECT FldA, MAX(FldB) FROM TableName GROUP BY FldA INTO CURSOR Result
Previous
Reply
Map
View

Click here to load this message in the networking platform