ActiveX Control for Adobe PDF Reader not working
I have now posted this issue 3 times with no response. What's up with that !!!!
Access 365
I have a form "ViewPDFForm" that has an ActiveX control named "ActiveXCtl2." It is an Adobe PDF Reader control. However, I cannot get it to display the PDF. It always errors on the last line "Forms!ViewPDFForm!ActiveXCtl2.source=filepath." I have checked and the variable "filepath" is the correct value. The PDF is fine. The error message is "RunTime Error 438; Object doesn't support this property or method." The code below is on a command button on a different form; the field "PDFName" is also on this other form. PLEASE HELP!
Dim filepath As String
DoCmd.OpenForm "ViewPDFForm"
filepath = "E:" & Me.PDFName
Forms!ViewPDFForm!ActiveXCtl2.Source = filepath