Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fox Slow ? with CDX
Message
From
11/08/2007 10:13:48
 
 
To
11/08/2007 07:00:38
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01247603
Message ID:
01247618
Views:
21
>>If an idx is faster than a cdx, and the index expression is the same, you must have some kind of data corruption. I suggest that you find the cause of this error instead of trying to fix the consequences of the error.
>
>
>How could that be possible ?
>I have rebuilt the indexes (cdx) Just before running the tests
>Is it possible ?????

Did you use REINDEX or did you rebuild them from scratch? REINDEX can keep corruption, so DELETE the tags and build them again and see whether the problems goes away.

Also, I would rethink the idea of running a query inside a SCAN loop. Why not gather all the information once with a single query and then just process it in a loop.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform