Re: filemaker applescript question
Re: filemaker applescript question
- Subject: Re: filemaker applescript question
- From: "Gary (Lists)" <email@hidden>
- Date: Tue, 18 Oct 2005 14:47:56 -0400
"email@hidden" wrote:
> (using FM 6 on OS X 1.39). Setting a field in a database is causing an
> error, if two or more of the fields in the database require that they
> be non-empty (such as : validated as non-empty). And, FM6 seems to be
> validating all the cell fields of the record, as soon as any one field
> is set using Applescript, even before there is an attempt to exit the
> record.
There is no such thing as "record commit" in FM 6. When you exit a cell,
you commit.
> I tried "on transaction" etc, but it has not worked in this
> case. Anyone aware of this behavior and a solution?
Frankly, what you've written is so sketchy that I just don't know what the
goal is. You want to set a cell value via AS, but your field
definitions/validations are getting in the way? Change your field
validations, then, and do the validating elsewhere (or 'elsewhen').
You said:
> Setting a field in a database is causing an
> error, if two or more of the fields in the database require that they
> be non-empty (such as : validated as non-empty)
What's the error? Where does the error originate (FM or AS)? What you
describe above is not "an error", it's "a feature"...field validation
happens when you exit the field.
There is no "two or more" rule regarding field validation, so I don't know
what you mean by "if two or more fields..." Your specific case should not
be generalized to a "rule". If you think you've found a bug in FM6, well,
that's going to be just too bad: FM6 is EOL, FM6 users are SOL.
"John C. Welch" nailed it when he wrote:
> Take the time on your question that you'd want taken on the answer, and
> you'll be fine. ;-)
Excellent advice for everyone.
--
Gary
_______________________________________________
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