When you say "button", do you mean a command button on an Access form, or a shortcut icon on your desktop?
To open another Access database, you can do several things. Perhaps the most straightforward is to simply fire off another instance of Access and load the other database:
Public Sub MyButton_Click()
dim x as double
x = Shell("..path to ms/access and your database...", e.g.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.