Re: Datagrid to refresh automatically
- From: "David Hodgkins" <dhodgkins@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 3 Aug 2005 10:06:09 -0400
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
>
>
.
- Follow-Ups:
- Re: Datagrid to refresh automatically
- From: Bob Butler
- Re: Datagrid to refresh automatically
- Prev by Date: Re: Please Help Me in Visual Basic 6.0 SP6
- Next by Date: Re: Datagrid to refresh automatically
- Previous by thread: Please Help Me in Visual Basic 6.0 SP6
- Next by thread: Re: Datagrid to refresh automatically
- Index(es):