Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting the last record of a table
Message
From
08/09/2003 15:55:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00827253
Message ID:
00827261
Views:
16
This message has been marked as the solution to the initial question of the thread.
>Is there a way to select the last record of a table with only a select statement?

The answers you have gotten (... where recno() = reccount()) should work, but a GO BOTTOM is probably faster, especially for a large table.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform