You can't open a recordset based on a query that requires parameter values, without actually passing the parameter values before opening the recordset.
Where will the parameter values come from? Do you still want the user to enter them, or should the values be taken from the form?
If you want...