I need to refresh!!

raychoy2k

Registered User.
Local time
Yesterday, 21:19
Joined
Feb 24, 2003
Messages
29
I have a form that opens a popup, then when the popup is closed I would like the form to refresh so it can reflect the changes made.

(The popup makes changes to the subform in the original form. It would be nice to have it refresh and show new changes one I go back to the form)

I tried OnActivate and OnCurrent. Neither work. Any suggestions?

Thanks from Newbie Man!
 
Try adding the following on the On Close event of the POP-UP:

[Forms]![NameofForm].Refresh

or

[Forms]![NameofForm].Requery (if it is built from a query)

HTH
 
Yo JF, you are right.

I think that should work. Let me try.

I feel stupid for no thinking of that one. I did a refresh with the OnActivate on the original form instead.

It doesn't use a query, so a requery will not help in this case.

Thanks for the suggestions though.
 
Pat:
Note how I put:

(if it is built from a query)

Since it was not stipulated how the form was built I suggested both.

You clarification is noted.
 
Quite an old thread, but I have a suggestion if it's still wanted. I would use the .Recalc command at the end of the expression. This seems to do what you're wanting!
 
something that simple

Thanks for the info on Shift-F9 and F9. It is exactly what I needed to resolve my issue I was having on a subform that needed to be 'refreshed' with new data added to the primary form.
 

Users who are viewing this thread

Back
Top Bottom