Re: FileMaker every record whose clause
Re: FileMaker every record whose clause
- Subject: Re: FileMaker every record whose clause
- From: Hanaan Rosenthal <email@hidden>
- Date: Sun, 22 Feb 2004 22:29:48 -0500
Hi Jason, how is everything?
I tried your example with a new database and also got errors.
Then, I added another field and the problem stopped.
Could it be that you're trying it on a single-field test database?
Hanaan
On Feb 21, 2004, at 9:01 AM, Jason Bourque wrote:
>
Hello,
>
>
I am trying to find records in a database that already exist. So I get
>
a
>
cell "Content" and check to see if a record exists. It should be there
>
because I got it from the database in the first place.
>
>
I will eventually use this to check the database before creating new
>
records. The cell content can contain a lot of text.
>
>
>
This is the script:
>
>
tell application "FileMaker Pro"
>
tell database 1
>
set vContent to cell "Content" of current record
>
every record whose cell "Content" is vContent
>
end tell
>
end tell
>
>
>
This is the error I get on the line "every record whose":
>
>
FileMaker Pro got an error: Set Data failed. Invalid data was
>
supplied.
>
>
>
Any idea's?
>
>
Thanks,
>
>
Jason Bourque
>
_______________________________________________
>
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.
>
>
--
Hanaan Rosenthal * Custom Flow Solutions
MEDIA AUTOMATION CONSULTING
401-487-2957 * email@hidden
* www.customflowsolutions.com *
be successful... ...work less.
_______________________________________________
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.