Re: Datagrid to refresh automatically

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



If you are using VB6, try "Call cmdRefresh_Click()" in the form_activate
event. To see if this is working, put a breakpoint in at the form_activate
event and walk through the code.

David Hodgkins



"jm7" <x@ht> wrote in message news:ez4ZTlokFHA.2152@xxxxxxxxxxxxxxxxxxxxxxx
>I have a datagrid on a form and then another form where I update single
> records. The data gets updated from the form .
>
> But when I return to the datagrid - I have to hit the refresh button to
> get
> the new data to show.
>
> I have tried putting "cmdRefresh_click" into the form_activate or
> datagrid_gotfocus, but tht does not seem to automatically refresh _ I
> still
> have to press the REFRESH button.
>
> Any thoughts,
>
> Thanks in advance
>
>


.


Quantcast