Call query or macro from seperate access db

S

samuel

I have a macro that opens two queries in c:\Query.mdb

I want to be able to call this macro (or query) from a seperate database
(C:\seperatedb.mdb)

How do I accomplish this?
 
S

Steve Schapel

Samuel,

You can use a RunApp macro in seperatedb. The Command Line argument will
have this type of syntax...
"C:\Program Files\...\Msaccess.exe" "C:\YourFolder\Query.mdb" /x NameOfMacro

--
Steve Schapel, Microsoft Access MVP


samuel said:
I have a macro that opens two queries in c:\Query.mdb

I want to be able to call this macro (or query) from a seperate database
(C:\seperatedb.mdb)

How do I accomplish this?



__________ Information from ESET Smart Security, version of virus signature database 4222 (20090707) __________

The message was checked by ESET Smart Security.

http://www.eset.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