Open another database from within current database

K

Kathy Webster

While in Access XP, can you program a command button to open another
database, and leave the current database open as well?
 
B

bob

sure..simplest way is to create a label and put the fully qualified path
into the hyperlink address.

alternatives exist to that - but that is pretty simple.

Bob
 
M

Mahesh Yawantikar

Hello Kathy,
Reg. your query , i think its not possible, atleast until now to do
that. Even in Access 2003 its the same problem, when you want to open another
database, and leave the current database open, it doesn't work. That what, i
know, atleast until now.
 
A

Anthos

Sure it can work.
But you need to create a new Instance of MS Access

Public Function newMSAccess(strPathtoAccess As String)
Dim objMSAccess As New Access.Application
With objMSAccess
.OpenAccessProject strPathtoAccess, False
End With
End Function
 

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