Subject | RE: [IBO] "Record was not located to Update" - handling in TIBODataset |
---|---|
Author | Dmitry A. Beloshistov |
Post date | 2014-08-07T13:34:38Z |
1) Check transaction isolation level
2) Try reproduce it in two ISQL window (in first – run update without commit -> in second – run delete with commit -> in first – try commit).
WBR, Dmitry Beloshistov AKA [-=BDS=-]
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Thursday, August 07, 2014 4:20 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] "Record was not located to Update" - handling in TIBODataset
Thanks for the reply. In my case though the error is the correct/expected behaviour (for example, when one user is editing a record and another deletes it before the changes are posted). I just need a way of catching it so I can handle it appropriately, and that's what I'm having difficulty with (only with TIBODataset - with a TIB_Dataset I can catch it in OnPostError).
[Non-text portions of this message have been removed]
2) Try reproduce it in two ISQL window (in first – run update without commit -> in second – run delete with commit -> in first – try commit).
WBR, Dmitry Beloshistov AKA [-=BDS=-]
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Thursday, August 07, 2014 4:20 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] "Record was not located to Update" - handling in TIBODataset
Thanks for the reply. In my case though the error is the correct/expected behaviour (for example, when one user is editing a record and another deletes it before the changes are posted). I just need a way of catching it so I can handle it appropriately, and that's what I'm having difficulty with (only with TIBODataset - with a TIB_Dataset I can catch it in OnPostError).
[Non-text portions of this message have been removed]