Subject Re: [IBO] IB_Connection Question
Author Jason Wharton
Don't assume anything about Transactions[0].
Make your own explicit usage of transaction or the DefaultTransaction
assigned to the connection.

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: "Alan McDonald" <alan@...>
To: <IBObjects@yahoogroups.com>
Sent: Saturday, December 14, 2002 11:55 PM
Subject: [IBO] IB_Connection Question


> I have a IB_Connection on my datamodule with seeral quereis attached to it
> and the connection uses the internal transaction of the connection.
> Am I right in assuming that with the queries open and grid sourced on
these
> queries, that I can call
> IB_Connection1.Transactions[0].Refresh(True);
> and this will remember where it is for each query and control buffer,
commit
> the transactionn after posting any current edits, then start a new
> transaction, then get back into each of the grids and other controls, the
> record matching where it was before the call?
> i.e. it is completely transparent to the user that a new transaction has
> started?
>
> If this is co, then can I not put a timer on the application and make this
> call every (say) 5 minutes and also have this happen almost invisibly to
the
> user?
>
> thanks
> Alan