I would think the best way would be to build the query the way you want it, then copy the sql string it generates and use it where you need in stead of the pre-built query. Then using that query, uncheck (or change) the view option in the query builder and then use the new sql string where you need...
Or simply use two pre-built querys...