setting FM container cell to an Image
setting FM container cell to an Image
- Subject: setting FM container cell to an Image
- From: "Goodman, Steve" <email@hidden>
- Date: Tue, 7 Nov 2000 16:41:59 -0600
Hopefully there is an easy answer to this that I am just missing. I'm try
ing to set a cell value to an eps image. Sounds easy enough. Here is what I
have:
set x to choose folder
set filelist to list folder x without invisibles
repeat with i from 1 to count of filelist
tell window 1 of application "FileMaker Pro"
activate
set newrecord to create new record
set cell "ImageName" of newrecord to item i of filelist as text
set cell "Imagepath" of newrecord to (x & item i of filelist) as
string
set cell "Image" of newrecord to file ((x & item i of filelist) as
string)
end tell
end repeat
When I set the cell "Image" to the file it actually sets it to a reference
of the file. The picture shows up correctly but it is linked to the image
and not actually embedded in the database. Is there a way to set the cell to
the image just as you would do an import of a picture to a container without
the "store only a reference to the file" checked??
Thanks in advance!
Steve Goodman
Six|12 - THE LTC GROUP
......."Duct tape is like the force, it has a light side and a dark side and
it holds the universe together."------Unknown