Subject Re: [IBO] Refreshing a IBODataset
Author Luiz
----- Original Message -----
From: "Artur Anjos" <arsoft@...>
To: <IBObjects@yahoogroups.com>

> Could you be more specific? What's the problem of using the Refresh method
of TDataset?
If we have code on event OnPrepareSql of the TIBODataset bound a TDBGrid and
doing some filtering of records depending on some conditions, calling in a
TButton on click event code as:
TIBOQuery.InvalidateSQL;
TIBOQuery.Refresh;

After this the TBGrid bound to dataset doesn't reflect the Refresh and
gives AV when trying scroll it.

With IBO native datasets all works very well.

Luiz.