Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow
Message
From
07/07/2008 06:48:42
 
 
To
07/07/2008 06:35:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Slow
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01329335
Message ID:
01329346
Views:
15
>i try it as below it take between 1 to lesthan 2 Minutes? i think it must be faster

Just run it in the debugger and you'll see which lines are slow. Indexing 6M records should not be done there, as Tore said. If you don't have an index on F1 the locate can take a full table scan: slow as well. With both indexes in place and between(s, 0, 1000) it should not take more than a few secs. The seek in my code at least enforces the index on F1.

HTH

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform