I'm having problems with a subform.
I have a parameter query (used to search). How can i get the results to be displayed in a subform, rather than in a new window?
I've tried putting the control source of the subform as the query, but this runs the query staright away when the main form is opened. Is there a way to have the results in the subform, but for the query to run only when a command button is clicked?
I would really appreciate any help....

I have a parameter query (used to search). How can i get the results to be displayed in a subform, rather than in a new window?
I've tried putting the control source of the subform as the query, but this runs the query staright away when the main form is opened. Is there a way to have the results in the subform, but for the query to run only when a command button is clicked?
I would really appreciate any help....
