A family of Microsoft relational database management systems designed for ease of use.
Did this ever work in this form? Is this a new form just being created? What bitness is your installation of Access 365, 32 or 64?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Access 365, Windows 10
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
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Did this ever work in this form? Is this a new form just being created? What bitness is your installation of Access 365, 32 or 64?