[AccessD] Refreshing a form

Rocky Smolin rockysmolin2 at gmail.com
Fri Dec 9 14:08:30 CST 2022


I tried OnActivate and GotFocus - neither of them fired. The refresh button
actually recreates the local bound table.  So I think that recreating the
table will trigger the current for and I get into an infinite loop.  But I
fiddle with that and see what happens.

tks

r

On Fri, Dec 9, 2022 at 11:37 AM Bryan Fitzpatrick <bryan at internode.on.net>
wrote:

> What about using the dashboard form's OnActivate, OnGotFocus or
> OnCurrent events?  These should all run when the updated form is closed
> and the dashboard becomes the current active form.
>
> Something like:
>
> Dashboard_Activate()
>
>      Me.RefreshRoutine
>
> End Sub
>
> HTH
>
> --
> */Bryan Fitzpatrick/*
>
> On 10/12/2022 5:16 am, Rocky Smolin wrote:
> > Dear List:
> >
> > I have a dashboard form from which the user can select a task which opens
> > up a task form. Having made changes to the task form and closing it, I
> > would like the dashboard form to reflect those changes.
> >
> > I have a refresh routine in the dashboard form's module and a temporary
> > button on the dashboard to refresh the form.  I suppose I could call the
> > refresh routine in the dashboard from the task form, but I'm wondering if
> > there is an event which fires when the task form closes and the dashboard
> > gets the focus but I haven't found one that will do that.
> >
> > Is there one? Or must I call the refresh routine in the dashboard  from
> the
> > task form.
> >
> > MTIA
> >
> > Rocky
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


More information about the AccessD mailing list