Joy Conner
15th September 2004, 20:13
I have a type 3 form with 10 occurrences. I can change all ten occurrences and when I press the save button, I get error message 206 which states that the record is not locked on db.update.
Also, I can reexecute the session, reapply the same changes, press the save button and the system accepts the changes. No error message.
Can anyone explain this?
mr_suleyman
16th September 2004, 08:08
İf you use db.lock.table anywhere which related to your table, may be it caused. If you don't use Db.lock anywhere , I think that you must do reconfig your table.May be it may correct your operation.BUt I don't see your problem exactly
Good luck ...
Hitesh Shah
16th September 2004, 16:11
Error 206 is mostly programming error . When working with main tables , Baan puts record level lock for modifications. So if u do other updates (on any table including main tablesthrough code during this modification time), this record locks gets lost and hence the error 206.
So u should other tables change either in before.rewrite / write section (without db.retry.point / commit.transaction) OR u do the same in after.update.db.commit section .