exporting container fields in FMP
exporting container fields in FMP
- Subject: exporting container fields in FMP
- From: Kevin Carter <email@hidden>
- Date: Wed, 11 Jun 2003 16:50:13 -0400
On Wednesday, June 11, 2003, at 03:07 PM,
email@hidden wrote:
I would like to save the contents of a container field to disk with the
filename being provided from another field. From what I can tell there
is no way to save the contents of a container. Hope I'm wrong.
Yes, it's possible, provided that the applescript is executed outside
of FMP (i.e., not within a ScriptMaker call).
it looks something like this:
tell app "filemaker pro"
set newFileName to get data of cell "fooText" of current record of
database "fooFile"
set newFileData to get data of cell "fooContainer" of current record of
database "fooFile" -- as data
end tell
set fileSession to open for access file ((path to desktop) as string) &
newFileName with write permission
set eof fileSession to 0
write newFileData to fileSession
close access fileSession
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.