Subject Re: [IBO] Refresh current record only?
Author Helen Borrie
At 06:38 AM 15/05/2003 +0000, you wrote:
>I have a TIBOQuery. I have data aware controls on my form connected
>to the TIBOQuery. If the user clicks a certain button, it calls a
>stored procedure that updates some of the values for the currently
>displayed record. Once the stored procedure is done, I want my data
>aware controls to display the updated values.
>
>The only way that I know to do this is to call Refresh() on the
>TIBOQuery, but this is an expensive operation. I don't want to
>refresh the entire dataset. I only want to refresh the current
>record. What can I do?

I think that calling MyIBOQuery.InvalidateRowNum(InternalDataset.RowNum)
should cause a single-row refresh in the buffer. Try it and see what
happens...

Helen