Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: SEEK/LOCATE/SET FILTER should report an error!
Message
From
27/11/2003 10:32:36
 
 
To
26/11/2003 12:06:05
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00853756
Message ID:
00854022
Views:
14
Hi Mike.

>Maybe we need a new SET command. SET INTEGRITY ON? With SET INTEGRITY ON, would it be reasonable to update the index with the data from the table when there is a mismatch?

I did some testing several years ago and found that trying to detect index errors just aren't worth it. Because there are so many things that can wrong with an index, it isn't possible to detect some types of damage (asking a damaged index to identify problems in itself is like asking the police or politicians to investigate their own bad conduct <g>). Also, even searching for the kinds of errors we can detect takes way longer than simply rebuilding the indexes. So, my rule of thumb is that if you think there's a problem, recreate the indexes.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform