Subject Re: How to refresh only one row, before to fetch it?
Author mmenaz@lycosmail.com
Go to Files of this newsgroup, download my program IboListReader and
the related archive file. Then enter the word "refresh" in the
first Tedit and and "row" in the second, then press "find" ;)
the result is:

> Query.InvalidateCurrentRow

Query.InvalidateRowNum( Query.RowNum );

will do it.

The reason I say invalidate is because it will simply bump the buffer
our of
memory and it is only fetched again if it is needed.

HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Michael L. Horne" <guardian@...>
To: <ibobjects@...>
Sent: Friday, June 30, 2000 7:03 AM
Subject: RE: How do I refresh data in single row in grid


> Thanks Jason,
>
> So, I would need to get the bookmark of the current
> record and then call invalidatebookmark.
>
> I assume from this answer there is no
> Query.InvalidateCurrentRow or Query.RefreshCurrentRow?
>
> Thanks
> Michael L. Horne
>
> -----Original Message-----
> From: ibobjects-admin@... [mailto:ibobjects-admin@...]On
> Behalf Of Jason Wharton
> Sent: Friday, June 30, 2000 2:14 AM
> To: ibobjects@...
> Subject: Re: How do I refresh data in single row in grid
>
>
> You can do it in two ways, InvalidateRowNum() or
InvalidateBookmark() will
> do it. For the latter the bookmarks for both datasets must be
compatible.
> For example if they are both a customer ID (in the KeyLinks) then
they are
> compatible and you can do it that way.
>
> You might consider looking into the DMLCaching features of IBO to
handle
> this automatically for you. Now that docs are rolling together,
these
> awesome features will be far more within your grasp...
>
> HTH,
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: "Michael L. Horne" <guardian@...>
> To: "IBOLIST" <ibobjects@...>
> Sent: Thursday, June 29, 2000 8:30 PM
> Subject: How do I refresh data in single row in grid
>
>
> > Hello
> >
> > I have a grid displaying data. I go off and edit
> > one row on another screen. When I return how
> > do I refresh the data on that row?
> >
> > Thanks
> > Michael L. Horne

Hope this will help you
regards
Marco Menardi