Clueless

T

tmc

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
 
A

Albert D. Kallal

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
 
C

caveman via AccessMonster.com

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
 
D

Dirk Goldgar

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.
 
T

tmc

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!
 
Top