Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Last NN entries
Message
De
10/05/2000 09:08:02
 
 
À
10/05/2000 08:46:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00368038
Message ID:
00368051
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform