Thanks, we're getting a closer. If within the vba code behind a form, I have created a select statement based on selections the user has made on the form. I'd like to have VBA that would create a query based on the select statment. I'd like for this query to be displayed on the query list.