Open A Documet from Access

scotthutchings

Registered User.
Local time
Today, 08:01
Joined
Mar 26, 2010
Messages
96
I have the following record in a table:
Code:
DocumentID	NickName	DocPath	CreatedBy	CreatedOn
4	Alum Frame Detail	C:\IMS\Development\IMSDocuments\1CCE51E2-1022-44C1-B312-7B9995E2B280.pdf	Peter	4/28/2014 1:57:28 AM

How do I set up a hyperlink so when the user clicks on the file name, the document (pdf, word, excel, etc) will open in its respective application?

Thanks.
Scott
 
Create a button and on the button you can code
Code:
Private Sub buttonName_Click()
    Application.FollowHyperlink Me.yourLinkFieldName
End Sub
 

Users who are viewing this thread

Back
Top Bottom