Subject | R: [IBO] TIBO* V.4.2Ga - CacheDMLRefresh after InternalDataset buffer syncronization |
---|---|
Author | Enrico Raviglione |
Post date | 2002-03-08T15:36:49Z |
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.
Regards,
Enrico Raviglione.
) into the same form and when i do the Invalidate
Da: Jason Wharton [mailto:jwharton@...]
Inviato: venerdi 8 marzo 2002 16.00
A: IBObjects@yahoogroups.com
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
http://www.ibobjects.com
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.
Regards,
Enrico Raviglione.
) into the same form and when i do the Invalidate
>-----Messaggio originale-----
> 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 (??).
Da: Jason Wharton [mailto:jwharton@...]
Inviato: venerdi 8 marzo 2002 16.00
A: IBObjects@yahoogroups.com
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
http://www.ibobjects.com
----- Original Message -----
From: "Enrico Raviglione" <e.raviglione@...>
To: <IBObjects@yahoogroups.com>
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
and
> 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.
___________________________________________________________________________
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/