Question on how to use gohyperlink

  • Thread starter GIP via AccessMonster.com
  • Start date
G

GIP via AccessMonster.com

Dear All,

I have form which contains a hyperlink-field (link). For every record I put
there a reference to an pdf-document. To do that I use the code:
============================================
Private Sub link_DblClick(Cancel As Integer)
Me.[link].SetFocus
RunCommand acCmdInsertHyperlink

End Sub
==============================================

To open that documents I use Allen Browne's gohyperlink to get rid of the
security warnings.
I use the following code:
======================================================
Private Sub link_Click()
Call GoHyperlink(Me.[link])
End Sub
=======================================================

The pdf opens however I still get a security warning.

Can somebody tell me what I do wrong?

Thanks in advance,

GIP
 
B

bhicks11 via AccessMonster.com

Are you trying to open a pdf each time you move to a new record?

Bonnie
http://www.dataplus-svc.com
Dear All,

I have form which contains a hyperlink-field (link). For every record I put
there a reference to an pdf-document. To do that I use the code:
============================================
Private Sub link_DblClick(Cancel As Integer)
Me.[link].SetFocus
RunCommand acCmdInsertHyperlink

End Sub
==============================================

To open that documents I use Allen Browne's gohyperlink to get rid of the
security warnings.
I use the following code:
======================================================
Private Sub link_Click()
Call GoHyperlink(Me.[link])
End Sub
=======================================================

The pdf opens however I still get a security warning.

Can somebody tell me what I do wrong?

Thanks in advance,

GIP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top