I am trying to create a PDF link that will pull up the correct file for a particular record. I thought I had it with the script below:
Dim stAppName As String
Dim Filepath As String
Const cstrPath As String = "\\mas200server\mas_pdf_files\"
Filepath = cstrPath & [ItemNumber] & ".pdf"
stAppName = "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe "
Call Shell(stAppName, 1)
Now it will launch Acrobat after clicking my link but it claims that the file is not found for the PDF. It is definitely in the directory and named exactly the item number for the record I am clicking but it's still not working.
Any ideas as to what I am doing wrong??
Any help is GREATLY appreciated.
Bob
Dim stAppName As String
Dim Filepath As String
Const cstrPath As String = "\\mas200server\mas_pdf_files\"
Filepath = cstrPath & [ItemNumber] & ".pdf"
stAppName = "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe "
Call Shell(stAppName, 1)
Now it will launch Acrobat after clicking my link but it claims that the file is not found for the PDF. It is definitely in the directory and named exactly the item number for the record I am clicking but it's still not working.
Any ideas as to what I am doing wrong??
Any help is GREATLY appreciated.
Bob