• 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
FMP Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FMP Script


  • Subject: FMP Script
  • From: Steve Kump <email@hidden>
  • Date: Fri, 03 Nov 2000 19:08:07 -0800

Hi List,

Some time ago I was given a script that allowed me to set container fields
in FileMaker to a JPEG image. I have since lost that script :o( and have
been pulling my hair out trying to rewrite that functionality.

If I remember correctly, it seems to me that all I should have to do is set
the container field to the path of the image as string. But I continually
get "Wrong Data Type" errors...

help!

set image_path to (Choose File)
set image_path to image_path as string
Tell application "FileMaker Pro"
tell document "Images"
tell database 1
set cell "FileImage" of current record to image_path
end tell
end tell
end tell

--
Steve


  • Prev by Date: Re: FMP5 & Current Record
  • Next by Date: Re: I've changed the name of a file...
  • Previous by thread: Thanx - was... CodeWarrior Question by Newbie
  • Next by thread: Re: FMP Script
  • Index(es):
    • Date
    • Thread