Subject Re: refreshControls( )
From Mervyn Bick <invalid@invalid.invalid>
Date Wed, 17 Sep 2014 08:46:51 +0200
Newsgroups dbase.getting-started

On Tue, 16 Sep 2014 17:59:27 +0200, eric wu <ericwuu@hotmail.com> wrote:

> myQuery.Rowset.refreshControls( )
>
> does not immediately update the grid that has data-linked to  
> myQuery.Rowset
>
>
> any idea why ?

What version of dBASE are you using?

Just what are you doing that you feel you need to execute the rowset's  
refreshControls() method?

I've found that if the grid is datalinked to the form's rowset then the  
grid automatically refreshes if one of the displayed fields is edited in a  
datalinked entryfield.  If you are editing a different rowset then you  
will need to execute the refresh() method of the rowset that is datalinked  
to the grid.

Mervyn.