I have a subform on a main form. I want the subform to display result from a saved query "qryMain" on button click event. Now in another button click event I modify the definition of qryMain. I want the subform to refresh the results displayed to reflect the current definition of the query.
I can do a Subform.ReQuery maybe but I am not able to do it and I think because the subform has kept the qryMain open it is not able to refresh.
Is there a possibility that I can close the subform and open it again so that it reflects the current results. How should I work around this problem.
Please help. Thank you.
I can do a Subform.ReQuery maybe but I am not able to do it and I think because the subform has kept the qryMain open it is not able to refresh.
Is there a possibility that I can close the subform and open it again so that it reflects the current results. How should I work around this problem.
Please help. Thank you.
Comment