Opening an external database (1 Viewer)

$ Sugar Daddy $

New member
Local time
Today, 07:59
Joined
Oct 31, 2006
Messages
4
This is probably very simple and I feel I should know how, but I'm drawing a blank. How can I launch an external database when I click on a button?

Thanks
 

boblarson

Smeghead
Local time
Today, 04:59
Joined
Jan 12, 2001
Messages
32,059
One way is to use this (changing the file path as necessary):
Code:
Application.OpenCurrentDatabase ("C:\Temp\YourFilePath.mdb")

Another way is to use this with a hyperlink:
Code:
Application.FollowHyperlink "file://C:\Temp\YourFileName.mdb"
 

Users who are viewing this thread

Top Bottom