I have a subform which shows a query (dragged the query and dropped it on the main form).
I can set the query sql so:
But I can't get the subform to reflect the changes made to the querie's SQL unless the form is close and reopened.
How do I requery the subform/query without having to reopen the form?
p.s.
The reason for this setup is, that the subform is used to show data from diferent tables, with different filtering.
I can set the query sql so:
Code:
CurrentDb.QueryDefs("qryReports").SQL ="SELECT...."
How do I requery the subform/query without having to reopen the form?
p.s.
The reason for this setup is, that the subform is used to show data from diferent tables, with different filtering.