Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Next and Previous
Message
From
11/10/2000 14:58:00
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00426536
Message ID:
00428003
Views:
18
Ok, thanks.

Michelle

>First off, use SCAN WHILE !EOF() instead of just SCAN. You will get much better performance results (at least I did). SCAN WHILE respects the index while SCAN does not. You will get the same results because after the SCAN goes to the next record, it then has the added overhead of bouncing that record against the active index to see if it matches.
>
>Second, you can leave out one SKIP (the initial SKIP -1) because you are already running a SCAN. You have already processed the previous record so store that value and use it as you process the current record. You will still need to SKIP 1 to get the next record and SKIP back to the current record but you should be okay.
Previous
Reply
Map
View

Click here to load this message in the networking platform