Subject | Re: [IBO] Refreshing a IBODataset |
---|---|
Author | Luiz |
Post date | 2002-01-27T22:17:36Z |
Jason,
After more some tests, I am seeing there are problems. I think I need you
help.
All are indicicating the problem is refreshing tibodataset.
Luiz.
After more some tests, I am seeing there are problems. I think I need you
help.
All are indicicating the problem is refreshing tibodataset.
Luiz.
----- Original Message -----
From: "Luiz Alves" <cprmlao@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, January 25, 2002 7:42 PM
Subject: Re: [IBO] Refreshing a IBODataset
> Jason in IBODataset.pas, I did:
>
> public
> ...
> ...
> procedure InvalidateRows;
> procedure RefreshRows;
> procedure RefreshKeys;
>
> // I add
> procedure Refresh;
>
> procedure RefreshFilteredRows;
> ....
> ....
>
> Then, I create:
> procedure TIBODataset.Refresh;
> begin
> CheckActive;
> UpdateCursorPos;
> InternalDataset.Refresh;
> Resync([]);
> UpdateCursorPos;
> DoBeforeRefresh;
> CheckBrowseMode;
> UpdateCursorPos;
> Resync([]);
> try
> InternalRefresh;
> finally
> UpdateCursorPos;
> Resync([]);
> DoAfterRefresh;
> end;
> end;
>
> The problem disappears with it. Can you see, if Is this correct?
>
>
> Luiz.
>
> ----- Original Message -----
> From: "Jason Wharton" <jwharton@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Monday, January 21, 2002 6:40 PM
> Subject: Re: [IBO] Refreshing a IBODataset
>
>
> > This sounds like a whole different issue than what you are talking about
> > here.
> > Please get this error to duplicate without the InfoPower and send it to
> me.
> >
> > Jason Wharton
> > CPS - Mesa AZ
> > http://www.ibobjects.com
> >
> >
> > ----- Original Message -----
> > From: "Luiz Alves" <cprmlao@...>
> > To: <IBObjects@yahoogroups.com>
> > Sent: Monday, January 21, 2002 1:34 PM
> > Subject: Re: [IBO] Refreshing a IBODataset
> >
> >
> > > ----- Original Message -----
> > > From: "Jason Wharton" <jwharton@...>
> > > > You haven't told us where the AV is.
> > > > I think your packages might not be compiled correctly.
> > > >
> > >
> > > I'm sure the packages are Ok.
> > > I am using Infopower IBO derived components.
> > >
> > > This problem also happended on IBO4F.n.
> > >
> > > The AV occurs when I try scroll the TDBGrid on ScrollBar. Some rows
are
> > > blank after the refresh and others are filled with data.
> > >
> > >
> > > Luiz.