Call query or macro from seperate access db

  • Thread starter Thread starter samuel
  • Start date Start date
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?
 
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
 
Back
Top