Subject | RE: [IBO] Refresh problems |
---|---|
Author | antoni.aloy@viajesastral.com |
Post date | 2002-11-04T16:20:28Z |
Hi!
TrDefault is tiCommitted, sorry! Those fingers ...!
TrDefault is tiCommitted, sorry! Those fingers ...!
>
> I have two IB_Transaction components in my application, on
> called TrDefault
> that has an isolation level as tiConcurrency what is the
> default transaction
> and anoter called TrQuery that is marked as tiConcurrency
> used for reports.
>
> I make a modification to a table (using TrDefault)inserting a
> new record and
> I try to make later a query using TrQuery. The inserted
> record does not
> appear, I have to restart the application to see the changes.
>
> I have added the following code before executing the query
>
> ...
> TrDefault.Refresh(True);
> TrQuery.Refresh(False);
> ...
>
> As is supposed that all the changes for the default
> transacction have to be
> commited and there is no need to commit anythin in the query
> transaction. On
> this way the application show the expected result, but I'm
> not convinced
> about doing things like this.
>
> Anybody has a better solution?