Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last NN entries
Message
From
10/05/2000 09:08:02
 
 
To
10/05/2000 08:46:05
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00368038
Message ID:
00368051
Views:
20
>Hi
>
>Can anyone tell me if there is a way of filtering a table to the last NN entries in the table?
>

Not a good idea but you could do something like:

SELECT * FROM MyTable INTO CURSOR Last50 WHERE RECCOUNT()-RECNO() < 50

this assumes natural ordering of the records. You can always order the recordset descending and take the first 50 records...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform