Button Possible?

K

Ken

Hi,

I am using XP Pro.

Is it possible to create a button on a form that will
close the current database and open a different database?

I've been trying to use docmd.OpenDatabase, but that isn't
in my list of options.

Any help will be greatly appreciated.
 
A

Albert D. Kallal

Yes, you can go:


application.FollowHyperlink "c:\my documents\other.mdb"
application.Quit
 

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