Subject Re: [IBO] How to get TIB_Transaction from IBOTable object?
Author Robert Osowiecki
Helen Borrie wrote:

>At 04:54 PM 4/05/2005 +0200, you wrote:
>
>
>>I've got an IBOTable with <default> IB_Transaction and
>>DatabaseName='mydatabase'. How do I get TIB_Transaction object used by
>>this IBOTable? I want certain piece of code to wark in all
>>circumstances, so I cannot asume that 'mydatabase' is known...
>>
>>
>
>Refer to the IB_Transaction property of the IBOTable object.
>
>e.g.
>
>if not MyTable.IB_Transaction.Started then
> MyTable.IB_Transaction.StartTransaction;
>
>Helen
>
>
Have you actually tried that? In C++ Builder IB_Transaction returns NULL
when
default transaction is used...

R.