Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reverse SCAN...ENDSCAN
Message
De
11/09/2006 18:15:38
 
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:
01152894
Vues:
21
Just a thought: How about dumping it into an array and sorting it decending.

>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]
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform