I have a command button on a form that looks in a text box for a file name, and uses the code below to open the corresponding PDF:
Private Sub Command82_Click()
Application.FollowHyperlink CurrentProject.Path & "\References\" & Me![PDF Link].Value & ".PDF"
End Sub
I have made it a relative...
I'm sure this has been explained elsewhere but I can't seem to find it. I am using Access to store a number of academic references. I have a form that displays each reference's unique ID and various pieces of information about it.
I am storing all the pdfs in a folder called "C:\References"...
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.