nadeemqureshi
New member
- Local time
- Today, 22:44
- Joined
- Apr 2, 2007
- Messages
- 9
I have Access database that have a hyperlink field to the PDF file. For which in the form I put Click button with the below code so that I can select the hyperlink to open up the pdf file which is working fine with Access 2003 .
Now problem is after installing Access 2007 when I click command button I got first MS OFFICE security warning message :
“Opining d:\filetraker2009\nad1.pdf
Some file can contain virus or otherwise be harmful to your computer. It is important to be certain that this file is from a trustworthy source. Would you like to open this file? “
When I press ok it doesn’t open Adobe Acrobat Reader nor linked pdf file.
(my code is as below)
Private Sub Command184_Click()
On Error Resume Next
Dim ctl As Control
If IsNull(FileTarkerHL) = False Then
Set ctl = Me.FileTarkerHL
Application.FollowHyperlink Me.FileTarkerHL
Else
Call MsgBox("Sorry No Image Attached ", vbOKOnly + vbInformation, " FileTracker ")
End If
End Sub
Now problem is after installing Access 2007 when I click command button I got first MS OFFICE security warning message :
“Opining d:\filetraker2009\nad1.pdf
Some file can contain virus or otherwise be harmful to your computer. It is important to be certain that this file is from a trustworthy source. Would you like to open this file? “
When I press ok it doesn’t open Adobe Acrobat Reader nor linked pdf file.
(my code is as below)
Private Sub Command184_Click()
On Error Resume Next
Dim ctl As Control
If IsNull(FileTarkerHL) = False Then
Set ctl = Me.FileTarkerHL
Application.FollowHyperlink Me.FileTarkerHL
Else
Call MsgBox("Sorry No Image Attached ", vbOKOnly + vbInformation, " FileTracker ")
End If
End Sub
Last edited: