Subject | Re: [IBO] TIBOTransactions |
---|---|
Author | Jason Wharton |
Post date | 2002-10-12T01:13:30Z |
You appear to be changing the reference to the transaction object in a way
that is confusing things. Will you please send me a sample app and I can
show you what you are doing wrong? I am also curious to take a look and see
if it is something I can avoid being a problem or at least give a more
meaningful error message.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
that is confusing things. Will you please send me a sample app and I can
show you what you are doing wrong? I am also curious to take a look and see
if it is something I can avoid being a problem or at least give a more
meaningful error message.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "rodbracher" <rod@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, October 08, 2002 6:32 AM
Subject: [IBO] TIBOTransactions
> Hi
>
> I have a form that has the task of importing 'export' files.
> Since I want to write these to the GDB, then make some changes - all
> or nothing - I thought this would be a good time to use an explicit
> transaction.
>
> My TIBOQuerys point to the apps TIBODatabse. I then point
> TIBOQUERY.IB_transaction to my TIBOTransaction (importTran).
>
> importTran.IB_connection = TIBODatabase
>
> I start my import event with importTran.startTransaction
>
> When I set my TIBOQuerys to active I get - 'Invalid Transaction
> Handle (expecting explicit transaction start) '
>
> Anything I may have left out ?
>
> I would have thought doing the above + importTran.applyUpdates([]) at
> the end of it all is what I am aiming for.
>
> Please advise if there is a better way about this.
>
> Thanks
>
> Rod
>
>
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>