• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: filemaker applescript question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: filemaker applescript question
      • From: Bruce Robertson <email@hidden>
    • Re: filemaker applescript question
      • From: Bare Foot Guru <email@hidden>
  • Prev by Date: copying to and from clipboard problem
  • Next by Date: Dialog simple question
  • Previous by thread: Re: filemaker applescript question
  • Next by thread: Re: filemaker applescript question
  • Index(es):
    • Date
    • Thread