Create a form to supply your criteria and either set the query to refer to the form or use VBA to dynamically build your WHERE clause. A
Also, you should display the query results in a form or report and not directly in a query so that you have more control over how it is displayed, and you have events so you can do things, including complex validation, etc.