One central access database to retrieve queries from other database and export to excel

I look after around 50 databases on a network and I am wondering if it is possible to have one central database where I can go into and select any query from any of the databases (held in a table within that database, along with full paths) and export that query to an Excel document and save it for example in the C:/ drive with the file name of the query.

So ideally there would be a form with two drop down boxes, one with the database name and the other with the queries from that selected database and a export button.

Is this something which can be done?

Thanks
jasocke2Asked:
Who is Participating?
 
Jim Dettman (Microsoft MVP/ EE MVE)Connect With a Mentor President / OwnerCommented:
<<Is this something which can be done?>>

  Yes, that's something that can be done.  In code, you can open another DB and access it's objects.  You also can through OLE automation fire up another instance of MS Access and control it, which is probably the approach I would take.

JimD.
0
 
darbid73Commented:
50 does sound like a lot, but you could start a new "MDBMaster" and then link all tables from all databases to this one MDBMaset.

Then you could create a form and do your two drop down boxes.

But I think your question is more relating to the connecting of all databases right?
0
 
TracyVBA DeveloperCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.