I should have also stated with the above I am using a Windows version 11.0v3 on a Windows Vista computer.
You have to use Insert File, not Insert Object.
You can't open the PDF directly. You have to export the file - right click the container, then Export Field Contents, and select the "Automatically open" option. If the automatically open option doesn't work, then Vista may have the same problem as Windows 7. See the post: Opening pdf file from container in Windows 7
This also should be done in Browse mode, not in Layout Mode if you want to insert the file into a container field.
Thanks to both of you for your answers. This works great on our desktop.
But our company uses the iPad to put in the information using Filemaker Go and needs to access this PDF information on the iPad. Is there a way to put these PDF's on the iPad so they can access it there instead of having to run back to the desktop to look up the PDF?
Couple of ways to do this:
Write a script to export the field contents and then open the file. In the script below the FMP file is "YourFMPFileName" and the container field holding the PDF is "PDFContainer". Then make a button to run the scirpt or make your container field a button to run the script. I'm not completely sure why this works, as the the iPad doesn't have a c: drive, but this will open the pdf file from the container automatically.
- Set Variable [$path; Value:"filewin:/c:/temp/" & GetAsText (YourFMPFileName::PDFContainer)]
- Export Field Contents [YourFMPFileName::PDFContainer;; "$path"; Automatically open]
Also, on the iPad, I found that if you simply touch the container field (which has not been set up as a button), you will be presented with an option to "Choose From Library, Open, or Email". Choose "Open" and your file opens up. I love that iPad. In my opinion the script option is better because you save one step since the file opens automatically.