Subject Re: [IBO] Strange Behaviour in Rollback
Author Eric Handbury
--- In IBObjects@y..., Geoff Worboys <geoff@t...> wrote:
> I strongly suggest that you allocate/remove your dataset outside the
> transaction context - and certainly DONT allocate/remove inside
other
> transaction event processing.
>
> Explanation: So there are some instances where you cant (or should
> not) do certain things inside events - since that would violate the
> status of loops etc when the processing returns to the outer call.
> I hope that makes sense, its a bit hard to explain without lots of
> code for demo.

It makes sense... the SysCancelAll procedure has a snapshot of all
current datasets and mucking-around with that list internally (like I
am doing) is asking for trouble.
I am re-coding the logic to do the de-allocation on the
AfterRollback/Commit events.

Thanks for your help.