Subject | Re: [IBO] TIBO* V.4.2Ga - CacheDMLRefresh after InternalDataset buffer syncronization |
---|---|
Author | Jason Wharton |
Post date | 2002-03-13T18:56:10Z |
Hmmm.... Not sure what to do here. There are a lot of factors that could be
influencing this.
Perhaps you can write your own sub-class to make it do exactly as you would
like?
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
influencing this.
Perhaps you can write your own sub-class to make it do exactly as you would
like?
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 8:36 AM
Subject: R: [IBO] TIBO* V.4.2Ga - CacheDMLRefresh after InternalDataset
buffer syncronization
> 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
> >
> > 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
> 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.