Inserting PDF or internet address into Access form

Lifeseeker

Registered User.
Local time
Today, 12:43
Joined
Mar 18, 2011
Messages
273
Is there a way to insert a pdf or internet address into Access form?

Users would like to click on something on the form to bring up this webpage.

Any thoughts or comment much appreciated.
 
You could use the hyperlink address property of a command button to open a web page.

There may be better methods. Your question is very vague. I am sure what you mean by "insert a pdf."
 
One way that this can be done is to insert a label into your form and put the link as the caption e.g. http:\\www.urlname.com

Then use the On Click or On Dbl Click event for the label to open the link:

Private Sub Label_Click()

Dim strLink As String

strLink = Me.Label.Caption

Application.FollowHyperlink strLink, , True

End Sub

Followhyperlink requires the 'http:\\' or 'file:\\' to be included in the link.

There is a very good alternative to FollowHyperlink that can be found at http://allenbrowne.com/func-GoHyperlink.html
 

Users who are viewing this thread

Back
Top Bottom