I am running Access 2007 - On a form I have a text field which contains the path "strFilePath" to where my associated PDF file is located (stored in a shared network drive). I have added Adobe PDF Reader Activex controls “AcroPDF6” to my form. I would like the PDF controller to link and display the file located in the "strFilePath" on each record. I have tried
Private Sub Form_Load()
Me.AcroPDF6.Object.src = [strFilePath]
End Sub
And even entering:
Private Sub Form_Load()
Me.AcroPDF6.Object.src = “\\mo7400svr01\cw_database\PILOT\” &[strFileName]&”ASD”&”.PDF”
End Sub
Both methods generated “Expression Onload errors.
Any recommendations how I can solve this and achieve my procedure?
Much appreciated.:banghead: