Subject | Re: [IBO] How to get TIB_Transaction from IBOTable object? |
---|---|
Author | Robert Osowiecki |
Post date | 2005-05-04T16:25:22Z |
Helen Borrie wrote:
when
default transaction is used...
R.
>At 04:54 PM 4/05/2005 +0200, you wrote:Have you actually tried that? In C++ Builder IB_Transaction returns NULL
>
>
>>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
>
>
when
default transaction is used...
R.