Subject R: [IBO] TIBO* V.4.2Ga - CacheDMLRefresh after InternalDataset buffer syncronization
Author Enrico Raviglione
Hi Jason,
where my inherited MyTIBOTable/MyTIBOQuery receive a DMLCache notification
the routine who i attached to my previous e-mail are called.

If the DMLCache notifcation are due to an Insert or a Delete all seem to
work fine but if the message are a "ditEdit" my component seem to have some
refresh problem after the InvalidateBookmark().

I see it with 2 different DBGrid conneted to 2 MyTIBOTable connected with 2
different transaction to the same Database Table.

When i do insert or delete on MyTable1 the Grid MyTable2 refresh correctly
without change the current record (if i don't delete it).
But when i edit one record on MyTable1 after the post, MyTable2 refresh the
changed record but make a strange refresh of all records into the grid
repositioning the table on another current record.

Enrico Raviglione.

) into the same form and when i do the Invalidate
> I attach here my C++ code, how you can see in "ditEdit" case i do only an
> InvalidateBookmark() but when i do this my current record are changed and
> the Grid display another section of the table (??).

-----Messaggio originale-----
Da: Jason Wharton [mailto:jwharton@...]
Inviato: venerdi 8 marzo 2002 16.00
Oggetto: Re: [IBO] TIBO* V.4.2Ga - CacheDMLRefresh after InternalDataset
buffer syncronization

Ok, I see. I knew that code looked familiar.
Now, what I don't get is the nature of your problem.
Describe the problem to me in terms that I can understand what it is doing
that it shouldn't be.

Jason Wharton
CPS - Mesa AZ

----- Original Message -----
From: "Enrico Raviglione" <e.raviglione@...>
To: <>
Sent: Friday, March 08, 2002 3:08 AM
Subject: R: [IBO] TIBO* V.4.2Ga - CacheDMLRefresh after InternalDataset
buffer syncronization

> I work in C++Builder and i have inherited 2 new component from TIBOTable
> TIBOQuery for add some new features (one is DMLCache) and publish some
> internal properties (DMLCacheFlags).
> The attached code are part of your IBA_BDataset.IMP translated to C++ and
> used in my inherited component.
> Regards,
> Enrico Raviglione.

IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________ - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to