I want to update the subform upon clicking a button (Run) in the main form. The Run button on the main form is updating a query(Filter Region). This query is the Source Object of the Subform.
The query is getting updated upon clicking the Run button but the Subform is not. The code written for the Run button on the main form is:
Private Sub Run_Click()
DoCmd.OpenQuery "Filter Region", asViewNormal, acReadOnly
End Sub
I think, by modifying the code of the 'Run' button we can update the subform.
Please suggest.