FMP Script
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