Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

How refresh sub-form after update via a combobox?

I have a sub form that has a combobox.  After the combobox has been updated am update query runs which adds records to the record source.  But after that happens I want the subform to be refreshed to show all of the records including the ones added via the query.

I'm not sure how to make the subform refresh.

Please note that there is a main form with a subform.  The subform I'm trying to refresh is a sub-form on the sub-form that is in the main form.

After the query runs in the VBA code I tried the following but it doesn't work:

Forms!frmJobSetup!subfrmUnits.Form!subfrmLineItems.Form!subfrmLineItems.Refresh
ASKER CERTIFIED SOLUTION
Avatar of John Tsioumpris
John Tsioumpris
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SteveL13

ASKER

Perfect.  I've never seen...

Form_    (underscore)

before.