Subject Refresh problems
Author antoni.aloy@viajesastral.com
Hi!

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?

============================================
Antoni Aloy López
IT MyTravel Incoming Services Spain
Tel. +034 971221097
Fax. +034 971288295
Member of MyTravel Group
============================================