I am not sure that I have not missed a point, but here goes anyway. If you create a table with a field type of OLE Object, you will be able to create a form from this table and add all sorts of files, including PDF, to the OLE Object field. Alternatively, you can add an Unbound OLE Frame to your form and choose "Create from file", this will show whatever object you choose on your form.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.