How do I copy a SQL query from one database to another in Access 2

T

Tom van Stiphout

On Wed, 30 Dec 2009 07:23:01 -0800, BeanCounter

Access 2? That's so many versions behind I don't remember the details.
Check if DoCmd.CopyObject is available.

-Tom.
Microsoft Access MVP
 
J

Jeff Boyce

Have you tried opening the second Access db and importing the query from the
first?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.
 
D

Dale Fye

Me too, Tom.

BeanCounter: There might also be a "get external data" option in one of the
menus that allows you select an Access file, and then browse the objects
within that file, select one or more, and import them into your current
database.
 
T

Tony Toews [MVP]

Jeff Boyce said:
Have you tried opening the second Access db and importing the query from the
first?

BTW when I have to do this and it's only a few objects I open both
databases simultaneously and then drag and drop the objects from one
database container window to the other.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
Granite Fleet Manager http://www.granitefleet.com/
 

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

Top