P
Piotr Ryszkiewicz
Guest
I will add 6th question: 6. How to implement pessimistic locking with ABL.NET ? I assume it can't be done (or at least can't be done in the nice way) if BindingSource is bound with dataset. But what if it is bound with buffer handle on real table ? If I GET-CURRENT(EXCLUSIVE-LOCK) on the buffer handle in the form constructor it does lock the record and keep the lock till the form is closed. But this is not what I want. I'd like to lock it when specific button (Edit) is pressed and keep the lock till button Save or Cancel is pressed. When I GET-CURRENT on keypress of Edit it keeps the lock only during Click trigger is running, then it releases the lock. I can define another buffer on the same table, lock record in this second buffer when Edit is pressed and release the lock when Cancel or Save is pressed - but is this the only way ? Piotr
Continue reading...
Continue reading...