Subject Re: [IBO] cancelling the edits in detail table on master detail setup
Author Helen Borrie
At 01:31 PM 12/12/2003 +0800, you wrote:
>Hello
>
>May I know what is the right way of cancelling all the edit you have
>perform in a detail dataset on a master detail setup? Before Iam suing
>cacheupdate to do this stuff. But since I've been reading that
>cacheupdate isn't necessary in IBO.

If you need the ability to cancel some edits and not others (literally
cache the work) then you do need cached updates - just work through the
cache buffer and call cancel on selected rows; or call
Dataset.CancelUpdates to undo everything.

In normal (real-time) work, to cancel the edits on the current row, call
Dataset.Cancel or Row.CancelBuffers (or click the "X" button on the UpdateBar).

To cancel all work in the transaction that is posted but not committed,
call ib_transaction.rollback, or use CancelAll if you want to keep the
transaction.

Helen