Re: filemaker applescript question
Re: filemaker applescript question
- Subject: Re: filemaker applescript question
- From: Bruce Robertson <email@hidden>
- Date: Thu, 20 Oct 2005 15:19:52 -0700
>> Try to set them both at the same time
>> set {cell "A", cell "B"} to {"a","b"}
>
> It did not work. But the following worked:
> set data record 1 to {"a", "b"}
>
> The problem with this is that the field names cannot be specified in
> such a statement.
Not true.
The field names have to be specified correctly and you must refer to the
current record. If the field are not on the current layout then you will
have to use other methods such as referring to the table.
These two statements work:
Tell current record
set {cell "A", cell "B"} to {"a","b"}
End tell
or
set {cell "A" of current record, cell "B" of current record} to {"a","b"}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden