Can someone possibly tell me what I am doing wrong from this code ? I am stuck with using the PDF format due to our documentation department. I am trying to create a form that will load the appropriate .pdf picture dependant on a user input of a part number. Using Access 2000, Adobe Reader 8.0, Windows 2000 Pro, SP4.
1. I have created a form, called frmStart
2. On this form I have inserted an unbound OLE Object frame, called OLEUnbound199, from a .pdf picture file and selected the link check box. This picture comes from another computer loaded with all the pictures I need to access.
3. The .pdf picture shows up fine in the form.
4. I rezized it, set the size mode property to stretch and it is perfect so far...
5. Now, I have deleted the text
\\172.16.6.172\PackSpec\DA2030500D.pdf in the Source Doc property and inserted the following VBA code to replace it with:
Me!OLEUnbound199!SourceDoc = "\\172.16.6.172\PackSpec\DA2030500D.pdf" to load the correct picture after the entry of a valid part number.
I now get an error of: "Run-time '438' Object doesn't support this property or method" The picture is always the same. Any ideas please ? Thank you very much.