Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728373
Message ID:
00728417
Views:
17
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