Links (1 Viewer)

ssworthi

Registered User.
Local time
Today, 15:49
Joined
Jun 9, 2010
Messages
97
I want to have my users have a button on my main form in my one data base be able to open another data base;(other database main form has all the buttons they need for the functions they want)is that possible?
 

GinaWhipp

AWF VIP
Local time
Today, 18:49
Joined
Jun 21, 2011
Messages
5,899
You can use...

Code:
Application.FollowHyperlink FilePath
 

ssworthi

Registered User.
Local time
Today, 15:49
Joined
Jun 9, 2010
Messages
97
Thank you so much Gina. Do I accomplish this in a button on my form and is it in the properties and written in SQL? I am very new to SQL and learning by the seat of my pants as it were. Thanks for all your help.
 

GinaWhipp

AWF VIP
Local time
Today, 18:49
Joined
Jun 21, 2011
Messages
5,899
Yes, you put that line in the On_Click event of your button. Where it says *FilePath* you would put the file path the databse you want to open.
 

ssworthi

Registered User.
Local time
Today, 15:49
Joined
Jun 9, 2010
Messages
97
You're right; there was a space and there should not have been. It works! It's great, thank you so very much!
 

Users who are viewing this thread

Top Bottom