Open a report in a different mdb

D

Douglas J. Steele

Dim appAccess As Access.Application

Set appAccess = New Access.Application
appAccess.OpenCurrentDatabase "C:\Folder\File.mdb"
appAccess.DoCmd.OpenReport "NameOfReport"

Once you're done with the report, you need

appAccess.CloseCurrentDatabase
appAccess.Quit
Set appAccess = Nothing
 
M

Marco

Friends and friends around the world.
We are presenting the new messenger.
He will be in the commissioning by the friends that we indicate to use the
system.
Access the system by clicking the link below and register free.

You get something for using orkut?
You get something for using skype?
You gain something by using twiter?
You get algumaocisa for using facebook?

Enjoy this is your time!!

Sign up and join for free.


http://www.sqipcom.com/?ref=webempreendedor

http://stakeholder.sqipcom.com/user/webempreendedor
 
J

JimP

Thank you, seems easy enough and will give it a try.

What if some of the report objects are in the "calling" mdb. Will the report
be able to find objects in both mdb's, or will all objects need to be in the
mdb with the report?
 

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