Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing a parent form from the child form's code

Status
Not open for further replies.

bhujanga

Programmer
Oct 18, 2007
181
0
0
US
I have fields on the parent form that are calculated from values in the child form's data. When a field in the child form changes, I recalculate these fields in the AfterUpdate code of various child form fields. But I can't get them to show the new values with out moving the focus away from the child form first. This seems cumbersome, because I then need to move it back to the right control so that the process is transparent. Is there a syntax for telling the parent form to refresh without having to do this?
Thanks.
 
in the subform try in the afterupdate event of the controls.
me.parent.recalc

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top