Pictures in FileMaker Pro
Pictures in FileMaker Pro
- Subject: Pictures in FileMaker Pro
- From: "Bourque, Jason" <email@hidden>
- Date: Thu, 1 Feb 2001 09:04:35 -0500
Hello,
I am trying to put a jpeg image into a FileMaker Pro Database container
field and keep it there. This isn't a problem but then when I delete the
actual jpeg file FileMaker Pro gives me an error "Could not draw picture
file: 000008.jpg" when it was just drawing fine before I deleted the file.
I have the document preference "Store Compatible Graphics" checked.
Is there a way to keep the jpeg in there all the time, I am pretty sure that
jpeg is a compatible graphic?
This is the AppleScript I am using which works fine to get the jpg in the
database.
tell application "FileMaker Pro"
set jpgFilePath to (text 1 thru -5 of thisItem) & ".jpg"
create new record at end of layout "Data Input" of database previewDatabase
set newRecord2Ref to result
set data cell "Preview Pict" of newRecord2Ref to (file jpgFilePath)
end tell
Jason Bourque
MFS Investment Management