Command Button to open another Access database

G

Guest

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"
 
G

Guest

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
 

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