Subject | can not locate record to update |
---|---|
Author | L.M. Bemmelmans |
Post date | 2003-07-30T14:00:13Z |
Hi,
IBO generates a nice exception if a record to update can't be found anymore.
If it does it kind of erases the corresponding record from memory leaving an
empty row. ( TIBOquery )
I would like to catch the exception and choose how IBO is to behave.
I use an editSQL like "UPDATE ...SET ...WHERE id=:old_id AND
checkfield=:old_checkfield". I use "checkfield" to perform a multiusercheck.
If checkfield has changed I want to cancel the update. It's very annoying if
after the "can't locate record for update" message the line goes blank.
Is there a way to change this behaviour ?
Leon
IBO generates a nice exception if a record to update can't be found anymore.
If it does it kind of erases the corresponding record from memory leaving an
empty row. ( TIBOquery )
I would like to catch the exception and choose how IBO is to behave.
I use an editSQL like "UPDATE ...SET ...WHERE id=:old_id AND
checkfield=:old_checkfield". I use "checkfield" to perform a multiusercheck.
If checkfield has changed I want to cancel the update. It's very annoying if
after the "can't locate record for update" message the line goes blank.
Is there a way to change this behaviour ?
Leon