Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reverse SCAN...ENDSCAN
Message
From
11/09/2006 18:15:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01152785
Message ID:
01152894
Views:
20
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform