Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reverse SCAN...ENDSCAN
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01152785
Message ID:
01152796
Vues:
25
And yet another option, this one assuming you want to scan the table in the reverse order of an existing index, then you just set that order descending
Use MyTable Order MyOrder Descending
Scan
***
EndScan
or
Use MyTable
***

SET Order TO MyOrder Descending
Scan
***
EndScan
[Update] I assumed the index was not created with Descending clause, if so, then to get the reverse order the ascending clause should be used[/Update]
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform