|Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread|
|Messages 1 to 2 of 2 total|
|Is DBISAM_KEYORRECDELETED error in OnPostError possible?|
|Mon, Sep 3 2007 11:31 AM||Permanent Link|
in source code of Dbsys there is WindowsPostError procedure (OnPostError).
There you are checking also for DBISAM_KEYORRECDELETED error.
If I understand well then when I am posting changes my record is already locked
for other users so noone else can delete it or change it (while I am in edit
mode - pessimistic locking).
Why (in your code) are you still checking for DBISAM_KEYORRECDELETED error in
OnPostError event if other user can't change or delete locked record?
Thanks for clarification.
|Tue, Sep 4 2007 9:21 AM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< Why (in your code) are you still checking for DBISAM_KEYORRECDELETED
error in OnPostError event if other user can't change or delete locked
The same error code is (possibly) raised during a Post when using optimistic
locking instead of pessimistic locking.