I have a query that filters a table and is used to generate a report. I would like to be able to change the parameters of the query programmically. For example, there is a Yes/No field called Sintered Scrap. I would like to choose (in a form) to sort for True, False, or All. In the event of All I would remove the WHERE condition in the SQL statement. I had thought about running this through a VBA sub-routine. The only thing I am lacking is that once I have the SQL statement build in a string variable, how do I save it as a query.