Login ProductsSalesSupportDownloadsAbout |
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 |
Joze | Hi,
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. Best regards, Joze |
Tue, Sep 4 2007 9:21 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Joze,
<< 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? >> The same error code is (possibly) raised during a Post when using optimistic locking instead of pessimistic locking. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, March 28, 2024 at 06:05 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |