Subject Re: [IBO] Re: Refreshing just 'left' dataset
Author Daniel Albuschat
2006/6/2, russellbelding <russell@...>:
> Daniel this is a common problem for me in displaying data in grids.
> One general way to handle presenting up-to-date data is to allow the
> user to press a button that does an IBOQuery.Refresh. You asked for
> an efficient way and for large data sets this might not be
> efficient. Efficiency is crafted from details and you supply bare
> details so an efficient suggestion isn't possible.
>
> If your data comes from a single table for example, a Firebird event
> on the table could trigger an auto refresh of your grid query. See
> Helen's "The Firebird Book" pg 678 onwards.

Well, a .Refresh definitely is not efficient :-)
I was looking for a way to refresh a *single* dataset.
The table is very big and the sql can be customized, so a refresh may
take up to a few seconds, maybe even minutes.
I've dug into the BufferFieldByName function, just to notice that there is
IMHO no way to actively manipulate the buffer (since I alread *have* the
correct data in a Cursor, this would be the best way).

--
eat(this); // delicious suicide