Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdate index problem
Message
From
07/01/2001 14:43:19
 
 
To
06/01/2001 23:23:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00460295
Message ID:
00460341
Views:
10
>Hi,
>
>I've been having problems with an index getting messed up when issuing a TableUpdate. The problem happens on an ordered table using optimistic row buffering. When there is a conflict I just want to force the last change. The force messes up the index (phantom record.) A Reindex fixes it. The code below will duplicate the problem. (At least with VFP5) Any ideas?
>


Wow, that's a trip. I get the same behavior in VFP6 SP3. I would venture to say that this qualifies as a bug.

My testing shows that this only occurs when you use Row buffering to commit your updates. If you issue an explicit TABLEUPDATE(), it doesn't happen. This fact should get you around the problem.

As an aside, I never, ever use Row buffering because of its unpredictability and inflexibility. I just can't think of a reason that you want to let VFP commit your updates for you without you asking.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform