Using a saved query to retrieve data from different sources

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i would like to use a saved query in more than one worksheet to retrieve data
from more than one ODBC data source.

however when i copy the query between sheets it does not give me the option
to change the data source.

is this possible wihtout renaming the query seven times and and pointing it
at seven different sources?

Any help would be appreciated.

thanks
 
you could write a little VBA to do a REPLACE on the querytable's
connection string.

have you looked into parameter queries? (though it's success would
depend on what your actually retrieving from what..

what type of datasource (which driver) are we talking about?

a bit more detail would be nice :)



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Gary Hall wrote :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top