Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reverse SCAN...ENDSCAN
Message
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:
01152793
Views:
21
>I want to scan a table from bottom to top. Currently, I am using a while loop for that. Is there any faster way like scan?

Assuming that you want to scan in the reverse of the physical order
INDEX ON RECNO() DESCENDING  TAG rn OF Temp
SCAN 
...
ENDSCAN
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform