I have a couple of pass-through queries stored in ms-access that were created via the query design wizard. I simply copied and pasted the code from my local .sql file into the sql view editor in access and saved it. Everything runs fine.
However, I would like to run my external .sql file from access. My external .sql file is located in a local folder. This way, I don't have to update my external .sql file and my stored query in ms-access when I change something to either query.
For what it's worth, all my pass-through queries are 'SELECT * FROM '
Is there a way to do this ?
Stringand then use that to update the.SQLproperty of theQueryDefobject for the pass-through query. - Gord Thompson