Subject | RE: [IBO] IB_Connection Question |
---|---|
Author | Alan McDonald |
Post date | 2002-12-15T07:29:50Z |
Actually I only get AV's when I try this - but when I assign a real
transaction to the default trasnaction property of the IB_Connection, I get
the behaviour I was assuming would happen. Why can't I seem to get access to
the defaultinternal transaction in the same way as I can to the assigned
default transaction?
thanks
Alan
-----Original Message-----
From: Alan McDonald [mailto:alan@...]
Sent: Sunday, 15 December 2002 5:56 PM
To: IBObjects@yahoogroups.com
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
___________________________________________________________________________
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/
transaction to the default trasnaction property of the IB_Connection, I get
the behaviour I was assuming would happen. Why can't I seem to get access to
the defaultinternal transaction in the same way as I can to the assigned
default transaction?
thanks
Alan
-----Original Message-----
From: Alan McDonald [mailto:alan@...]
Sent: Sunday, 15 December 2002 5:56 PM
To: IBObjects@yahoogroups.com
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
___________________________________________________________________________
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/