A small question here...
In an application I am writing I use transactions to make sure all what that happens to the active records goes well (and if not a rollback can be performed).
This all works well. No problem there.
But I wondered, if I started an transaction on a record and for whatever reason I decide not to write the changes to the table (so there will be no update and commit towards the table), is there anything special I should do to cancel the transaction as well? Or will the begin of an new transaction on a new record or the closing of the recordset be enough?
Thanks in advance,
Rob.
In an application I am writing I use transactions to make sure all what that happens to the active records goes well (and if not a rollback can be performed).
This all works well. No problem there.
But I wondered, if I started an transaction on a record and for whatever reason I decide not to write the changes to the table (so there will be no update and commit towards the table), is there anything special I should do to cancel the transaction as well? Or will the begin of an new transaction on a new record or the closing of the recordset be enough?
Thanks in advance,
Rob.