Subject Re: [IBO] Transaction Handle
Author Luiz
Did you checked if there is a transaction started before try it?

If you use 'StartTransaction' to start the transaction then check for
'InTransaction' else if using implicit transaction check for 'Started'

I tested your code and give me is no error if there is a transaction
started.

Luiz.
----- Original Message -----
From: "Burak OZLER" <burak.ozler@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, September 13, 2002 10:46 AM
Subject: [IBO] Transaction Handle


> I'm trying to retreive trHandle ptrHandle of a transaction object
>
> After I start the transaction.
>
> I try these
> IntToStr(integer(trnMakbuz.trHandle^)) gives me error
>
> IntToStr(integer(trnMakbuz.PtrHandle^))
>
> trnMakbuz.PtrHandle^ always Nil.
>
> Can somebody send me a code sample to get the transaction handle??
>
> thanks
>
> Burak