Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select max ????
Message
From
06/03/2003 14:48:42
 
 
To
06/03/2003 14:44:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00762387
Message ID:
00762389
Views:
10
SELECT TOP 1 [fieldName] from [tableName] into cursor [cursorName] order by [fieldName] desc

That should get you the single largest value for that field in the table. If there is a tie, it will give you all records with that value, not just the top 1.

Is that what you wanted?
Paul A. Busbey
Victoria Insurance
Previous
Reply
Map
View

Click here to load this message in the networking platform