Subject | Transactions |
---|---|
Author | Michael Vilhelmsen |
Post date | 2006-12-19T09:33:06Z |
Hi
I use IBO.
I manually start every transaction by doing this:
if (not (DMEksp.trEksp.InTransAction)) then
DMEksp.trEksp.StartTransAction;
Do a little or a lot.
if ((DMEksp.trEksp.InTransaction)) then
DMEksp.trEksp.Commit;
Isn't that the right way to handle transactions ?
Michael
I use IBO.
I manually start every transaction by doing this:
if (not (DMEksp.trEksp.InTransAction)) then
DMEksp.trEksp.StartTransAction;
Do a little or a lot.
if ((DMEksp.trEksp.InTransaction)) then
DMEksp.trEksp.Commit;
Isn't that the right way to handle transactions ?
Michael