G
Guest
Hi,
I have a command button which I set the HyperlinkAddress property in the
click event. When the variable that contains the file locations is a .HTM
file then everything works fine and the htm file is opened and displayed.
But when the file is a .PDF file the link does not work. When I press the
command button I see the adope icon appear for a brief moment in the taskbar
but then it is gone and I am back in access. Any ideas while this is not
working with PDF files?
Here is the code I have for the command buttons click event........
If Not IsNull(Me.P_DOC_LOC) Then
Me.open_doc_cmd.HyperlinkAddress = Me.P_DOC_LOC
Else
Me.open_doc_cmd.HyperlinkAddress = ""
End If
Thanks very much,
Doug
I have a command button which I set the HyperlinkAddress property in the
click event. When the variable that contains the file locations is a .HTM
file then everything works fine and the htm file is opened and displayed.
But when the file is a .PDF file the link does not work. When I press the
command button I see the adope icon appear for a brief moment in the taskbar
but then it is gone and I am back in access. Any ideas while this is not
working with PDF files?
Here is the code I have for the command buttons click event........
If Not IsNull(Me.P_DOC_LOC) Then
Me.open_doc_cmd.HyperlinkAddress = Me.P_DOC_LOC
Else
Me.open_doc_cmd.HyperlinkAddress = ""
End If
Thanks very much,
Doug