• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
setting FM container cell to an Image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: changing view on every folder
  • Next by Date: Re: changing view on every folder
  • Previous by thread: RE: changing view on every folder
  • Next by thread: Re: setting FM container cell to an Image
  • Index(es):
    • Date
    • Thread