Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_datachecker class breaks indexes
Message
From
28/04/2000 10:54:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
_datachecker class breaks indexes
Miscellaneous
Thread ID:
00364482
Message ID:
00364482
Views:
46
Hello,

I wonder if anyone else has run into a similar problem - I'm using the Checkconflicts() (or Handlerecord()) method of the _datachecker class (in _datanav.vcx of FFC). My form uses optimistic row buffering - I have a grid on one page as a search object, but I set the buffing override in the DE to optimistic row for that cursor.
The _datachecker class works but it mangles the indexes:
If I open 2 instances of the same form, locate the same record on both forms, edit lastname field in the first form, edit the same field in the second form, back to the first, skip to save (no message, changes saved), back to second - conflict resolution message comes up with oldVal, currval, and eval, - works fine. After I select Overwrite Changes, a 'ghost' record appears in the index only. The grid (or a browse) with the index set will show 2 records for the record I modified, with the index off everything is fine. I have to reindex the table to fix the index. Anyone else seen this, any fixes/workarounds? Thanks

Rod Poujade
Montreal, Canada
Rod Poujade
Next
Reply
Map
View

Click here to load this message in the networking platform