Copy Query definition to another instance (mdb)

nbrcrunch

Well-known Member
Joined
Jan 1, 2003
Messages
2,062
I performed a search here and searched MS-Access help but couldn't find what I need....

I need to copy queries from my mdb file to another user. How (if at all) is this done?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi
I don't think it is possible to transfer the query definition to another database that is "out of sight" (someone please correct me if I am wrong). By "out of sight" I mean a database that is not on the same PC or network (if they are you can use the import function). I tried to do this the other day and failed miserably - the best I could do was to copy and paste the query SQL into a text programme such as notepad and transfer that over.

Not much of answer sorry and a pretty bad work-around too!
Andrew :)
 
Upvote 0
You could export the query to a blank database, send that to the user, and get them to import it. I occasionally use this wen I've made a few changes and don't have the "production" version of the database with me. You can also shunt forms, modules and reports around this way.

Andrew's idea works too, as long as the user understands SQL view for pasting it back.

Denis
 
Upvote 0

Forum statistics

Threads
1,221,854
Messages
6,162,448
Members
451,765
Latest member
craigvan888

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top