Subject Re: Refreshing just 'left' dataset
Author russellbelding
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.

--- In IBObjects@yahoogroups.com, "Daniel Albuschat"
<d.albuschat@...> wrote:
>
> Hello Group,
>
> There's the following scenario:
> A Query is displayed in a Grid.
> After you scroll in the Grid, there's a high possibility that the
data has been
> changed outside of the Query.
> Hence I would like to always reload the dataset that I just left
after
> scrolling in the Grid to display the correct data.
> What's the most efficient way doing this?
>
> Kind regards,
> Daniel Albuschat
>