Subject AV when RollBack is called
Author Carlos H. Cantu
I have an app with explicit transaction control.

If I do :

1)StartTransaction
TRY
2)Try to edit a record in a TIBOQuery, but in the beforeedit event I raise an
exception with SysUtils.Abort
EXCEPT
3)RollBack the transaction
END

everything is OK

BUT if I do

1)StartTransaction
TRY
2)Try to edit a record in a table, but in the beforeedit event I raise an
exception with raise Exception.Create('You cannot edit this record')
EXCEPT
3)RollBack the transaction <= Access Violation here !!!
END

It gives an AV in (3).

Any idea on what is going on here ?

Carlos
WarmBoot Informatica - http://www.warmboot.com.br
Interbase-BR - http://www.interbase-br.com