Have a strange problem, I am using an application.followhyperlink command to launch quotations from a record in my database. This works fine with all document types except for PDF's.
If Left(Form_FrmQuoteAmend.webnumber, 3) = "WEB" Then
quotelink = "Y:\CRM\Quotes\"
qref = Form_FrmQuoteAmend.webnumber & ".pdf"
qlink = quotelink & qref
application.followhyperlink qlink
the extension document changes when looking for word or excel documents but the code is the same.
I have even tried replacing the qlink and having the follwhyperlink look for the actual document as below
application.followhyperlink "Y:\CRM\Quotes\test.pdf"
Obviously i placed a document called test.pdf in the correct file location.
I am using windows XP, access 2003 and acrobat 7.0
please help.
If Left(Form_FrmQuoteAmend.webnumber, 3) = "WEB" Then
quotelink = "Y:\CRM\Quotes\"
qref = Form_FrmQuoteAmend.webnumber & ".pdf"
qlink = quotelink & qref
application.followhyperlink qlink
the extension document changes when looking for word or excel documents but the code is the same.
I have even tried replacing the qlink and having the follwhyperlink look for the actual document as below
application.followhyperlink "Y:\CRM\Quotes\test.pdf"
Obviously i placed a document called test.pdf in the correct file location.
I am using windows XP, access 2003 and acrobat 7.0
please help.