Subject | Re: [IBO] Testing for Transaction running |
---|---|
Author | Woody |
Post date | 2007-04-20T04:07:04Z |
From: "Alan McDonald" <alan@...>
if not (Started or InTransaction) then
StartTransaction;
It works no matter how the transaction was started. At least, so far...
Woody (TMW)
>I want to test if a transaction is started/running and if not, start itI always use this test:
> explicitly. So I want to test if it's running.
if not (Started or InTransaction) then
StartTransaction;
It works no matter how the transaction was started. At least, so far...
Woody (TMW)