Re: filemaker applescript question
Re: filemaker applescript question
- Subject: Re: filemaker applescript question
- From: email@hidden
- Date: Wed, 19 Oct 2005 15:06:07 -0400
> 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. Using a database with several fields, I find this a
poor way to program for a database with several fields. I like to set
fields by specifying their names.
You wrote :
On 19/10/2005, at 11:58 AM, email@hidden wrote:
A database with field A, and field B
when I set the fields using AppleScript, everything is normal.
if I make field A validation option to be "Not Empty" , then I try to
set the Field A and Field B, one at a time, then things still work fine
But, As soon as I make field B option to be "Not Empty", then when I
try to set the fields, one at a time, I get the error "Error: set data
failed. Invalid data was supplied (error # -17005)". The error is being
generated by FileMaker.
Try to set them both at the same time
set {cell "A", cell "B"} to {"a","b"}
Malcolm Fitzgerald ph: 02 93180877
Database Manager fax: 02 93180530
The Australian Society of Authors www.asauthors.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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