![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Not sure if this is what your looking for, but you can insert the image of a pdf into a container field using the "Set Field" command. This does however require that you already have the path and image names. To see what FileMaker thinks the path to an image is, do the following; - create a container field "MyContainer" and insert a picture into it manually using the store as reference option - create a calc text field which has the calculation "My Container" (I know this seems weird) - when viewed on the layout the text field gives the image size and the path to the image eg. "image:../test/3.pdf" Using a script you can create the records and Set the field "MyContainer" to the image paths eg. "image:../test/3.pdf". This should display the image in the container field. |
#4
| |||
| |||
|
|
Hi, thanks for the reply. When I create a calculation field to be equal to the container field, all it shows is a value of 0. |
|
I also did try to make a field the same as the container field and all I get is a ? as a return. |
|
This is why it seems like I cannot create a container's content via a calculated field. It is driving me nuts!! I am attaching the test file here.... |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Well well well. Looks like we can attach binaries after all. |
#7
| |||
| |||
|
|
Hi All, I want to create a database where I store a PDF item in a container. I want to get the PDF preview in my layout as when I drag the pdf into the container field. I have thousand of drawing items of which I want to create records of. This would be to ardous a task to do manually. I want to be able to create a calculation field that would automatically load the PDF into the container based on the following. Each Record will have a field Called "Item No". The files are stored in our server in a path like \\My-Server\Drawings\ ( a folder with an item number)\(Item No).pdf I have tried all kinds of combinations Calculation and Container options to create this autocalculation but the best I get is a pdf icon inside the container. I want to see the pdf preview so I can see what the drawing is about. Does anyone know how this can be done...if at all? Many thanks. ECC |
![]() |
| Thread Tools | |
| Display Modes | |
| |