Subject | record not located for updated |
---|---|
Author | colinriley666 |
Post date | 2003-08-18T14:51:06Z |
During ApplyUpdates on a TIBOQuery with CachedUpdates=True, IBOjects
raises an exception "record not located for update". I am aware that
the record has been deleted from the table, and that this is the
reason for the exception (rows_affected = 0). I don't want to treat
this as an error (the row has been legitimatelty deleted in another
transaction).
Am I correct in assuming that I can't just catch this exception and
ignore it?
Will all other "valid" updates be applied correctly, or does
IBObjects abort the ApplyUpdates at this point?
As an aside, I have the feeling that an update is performed on all
rows of the query, even if not modified. Is this correct?
regards, Colin Riley
raises an exception "record not located for update". I am aware that
the record has been deleted from the table, and that this is the
reason for the exception (rows_affected = 0). I don't want to treat
this as an error (the row has been legitimatelty deleted in another
transaction).
Am I correct in assuming that I can't just catch this exception and
ignore it?
Will all other "valid" updates be applied correctly, or does
IBObjects abort the ApplyUpdates at this point?
As an aside, I have the feeling that an update is performed on all
rows of the query, even if not modified. Is this correct?
regards, Colin Riley