Re: AS/FMP: a list of fewer than two records
Re: AS/FMP: a list of fewer than two records
- Subject: Re: AS/FMP: a list of fewer than two records
- From: Michelle Steiner <email@hidden>
- Date: Fri, 27 Feb 2004 13:50:54 -0700
On Feb 27, 2004, at 1:01 PM, Chap Harrison wrote:
Here's a test program I used.
tell app "Filemaker Pro"
tell database "LineItems"
count of records whose cell "Price" is "*"
end tell
end tell
When the number of qualifying records is 0, there is an "object not
found" error.
What happens if you try
tell app "Filemaker Pro"
tell database "LineItems"
records whose cell "Price" is "*"
end tell
end tell
If that doesn't throw the same error, then you can set the result to a
variable and check to see if the variable is {}
But you wrote me in private that using on error took care of the
problem, so the above suggestion is moot (or is it academic)?
--
Help, I've caught a cult, and can't get out!
_______________________________________________
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.