Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SpeedUp SCAN
Message
 
 
To
02/04/2010 07:10:01
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01458484
Message ID:
01458494
Views:
71
>Does it have to be a scan? Maybe it can be done with an SQL command? ::: yes I gess it has to be a scan because inside it I do call other functions...
>
>Are you sure that SCAN itself is responsible for slowdown not what you're doing inside the scan? :::: yes, Is the scan because I've commented (**-) all code inside and is the same
>
>Are you setting order in the table before scan? :::: I try it now (set order to tag cType) without better resoults...

Setting index will slow down a scan. You should follow Cetin's suggestion but peek the index that returns least number of records. Another option is to create a combine index on 2 fields.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform