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: Jeremy Sellors <email@hidden>
- Date: Sun, 27 Jun 2004 15:00:20 -0700
Thanks Tom,
I was working with an old converted file but when I created a test
file like yours it works fine. I think I will just forget getting it to
work on the old file an concentrate on the new one.
I used the: go to layout "myLayout " phrase to get to the right layout
with the required fields.
I was trying to specify the cells by using: of table "Table 1" and
I was not aware of the fact that the cells had to be on a layout of the
table.
__Jeremy
On Friday, June 25, 2004, at 03:01 PM, Tom Robinson wrote:
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
_______________________________________________
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.