Subject | Re: [IBO] Detecting StartTransaction |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-04-28T04:52:07Z |
At 07:08 PM 27-04-02 -0700, bhata wrote:
InTransaction, since this relates to the logical transaction but does not
necessarily indicate whether the transaction is active. You should be
testing the TransactionIsActive property to determine whether a physical
transaction has started.
Make use of a TIB_Monitor in your application to watch what happens during
the life of a transaction.
Also use of the TI sheets on transactions at
http://www.ibobjects.com/TechInfo.html . "A TI sheet is worth 1000 list
postings". <g>
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com
>Daniel Rail wrote:You can't intervene in the StartTransaction method. Don't test
>
> > At 04/27/2002 04:23 PM, you wrote:
> > >Is there a way to detect a StartTransaction for a TIB_Database?
> >
> > Look at TIB_Transaction.AfterStart event.
>
>That's what I thought. But when I put a breakpoint on it, it
>only broke at the beginning of the program and InTransaction
>is still false. I execute a StartTransaction from a TButton and
>it doesn't break. Can you verify?
InTransaction, since this relates to the logical transaction but does not
necessarily indicate whether the transaction is active. You should be
testing the TransactionIsActive property to determine whether a physical
transaction has started.
Make use of a TIB_Monitor in your application to watch what happens during
the life of a transaction.
Also use of the TI sheets on transactions at
http://www.ibobjects.com/TechInfo.html . "A TI sheet is worth 1000 list
postings". <g>
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com