Clueless

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a button on an access form that when clicked runs the
following ON CLICK event procedure to open the named PDF file for viewing
with Adobe Acrobat. It works fine on my computer but when other users click
the button it appears that acrobat is opening to a gray screen and
immediately closing. Any ideas what might be happening and why it would work
great on my machine but not on other users machines.

Private Sub View_PDF1_Click()
Dim strDoc As String
If Not IsNull(Me.Drawing1) Then
strDoc = "\\server01\f\casework\drawings\" & Me.Drawing1 & ".pdf"
FollowHyperlink strDoc
End If

End Sub

Thanks
 
That example code is much the same as if the user clicked on the document.

It sounds like the other machine does not have a pdf viewer installed
correctly. Or, it sounds like the pdf view launches, but the user does not
have access to the particular file. I would physically test (browse) to the
pdf file, and open it on that machine to try and eliminate the issues of
wrong path name, or permissions
 
Your message makes no sense.
I have created a button on an access form that when clicked runs the
following ON CLICK event procedure to open the named PDF file for viewing
with Adobe Acrobat. It works fine on my computer but when other users click
the button it appears that acrobat is opening to a gray screen and
immediately closing. Any ideas what might be happening and why it would work
great on my machine but not on other users machines.

Private Sub View_PDF1_Click()
Dim strDoc As String
If Not IsNull(Me.Drawing1) Then
strDoc = "\\server01\f\casework\drawings\" & Me.Drawing1 & ".pdf"
FollowHyperlink strDoc
End If

End Sub

Thanks
 
tmc said:
I have created a button on an access form that when clicked runs the
following ON CLICK event procedure to open the named PDF file for
viewing with Adobe Acrobat. It works fine on my computer but when
other users click the button it appears that acrobat is opening to a
gray screen and immediately closing. Any ideas what might be
happening and why it would work great on my machine but not on other
users machines.

Private Sub View_PDF1_Click()
Dim strDoc As String
If Not IsNull(Me.Drawing1) Then
strDoc = "\\server01\f\casework\drawings\" & Me.Drawing1 &
".pdf" FollowHyperlink strDoc
End If

End Sub

Thanks

I think this was a bug in the first release of Adobe Reader 7. Have the
other users download and install the latest release of the program -- I
have 7.0.8 -- and see if the problem goes away.
 
Thanks Dirk! That seems to have corrected the problem on the workstation
I've tried. Hopefully it will fix the others as well. Thanks Again! You Da
MAN!
 

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

Back
Top