Re: Filemaker Pro 7 How to get cell contents.
Re: Filemaker Pro 7 How to get cell contents.
- Subject: Re: Filemaker Pro 7 How to get cell contents.
- From: Tom Robinson <email@hidden>
- Date: Sat, 26 Jun 2004 10:01:36 +1200
On 24 Jun 2004, at 17:00, Jeremy Sellors <email@hidden>
wrote:
I am trying to get the contents of the FileMaker 7 cells as a list but
it errors with "object not found".
How do you get the contents of a cell? Mac OS 10.2.8
No errors here. FileMaker 7.0v2, OS X 10.3.4.
set listFrom to {}
tell application "FileMaker Pro"
tell table "test" of document 1
set listFrom to {cell "a", cell "b"} of every record
end tell
end tell
Make sure that FileMaker 6 isn't on your disc anywhere--AppleScript can
pick up the wrong version (I ended up moving my v6 to a disk image and
generally leaving it unmounted). Also make sure the cells you're
reading are on the current layout. v7 changed in that you can't read
or set 'hidden' cells via AppleScript anymore.
HTH.
Cheers
--
An Irish airman foresees his death, by WB Yeats:
I know that I shall meet my fate, Somewhere among the clouds above;
Those that I fight I do not hate, Those that I guard I do not love;
My country is Kiltartan Cross, My countrymen Kiltartans poor,
No likely end could bring them loss, Or leave them happier than before.
[]
_______________________________________________
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.