Command Button to open another Access database

D

Dylan Moran

Hi,

I want a button on a form in my access database, to open another Access
Database.
It is similar to running an application but as MS Access is not an .exe it
doesn't work.

My new database I want to open is at the location

I:\Database\database.mdb

I am hoping the command line prompt in the wizard will assist.

Any help is appreciated.
 
F

fredg

Hi,

I want a button on a form in my access database, to open another Access
Database.
It is similar to running an application but as MS Access is not an .exe it
doesn't work.

My new database I want to open is at the location

I:\Database\database.mdb

I am hoping the command line prompt in the wizard will assist.

Any help is appreciated.

Application.FollowHyperlink "I:\Database\database.mdb"
 
M

Melanie O

I have an additional question regarding the original one...

When you use FollowHyperlink, is there another command to open a specific
form in the newly opened database? I already have the switchboard as the
startup form, but I then wanted to open another form.

Thanks,
Melanie
 
Top