
Originally Posted by
Ajax
If you only want the sql view you can create your own form very easily
You need a large unbound textbox, called say txtSQL and use whatever you want to choose your query - say a listbox (called lstQuery) then on the afterupdate event put
txtSQL = CurrentDb.QueryDefs(lstQuery).SQL
Obviously you'll need a save button to update the querydef once changed
You can also have a subform where the sourceobject is set to "query." & lstQuery to display the results - quite useful when developing the sql to see the results as you make changes - saves switching screens