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 12:16:19 -0700
On Feb 27, 2004, at 7:36 AM, Chap Harrison wrote:
I still can't deal with the case of zero records. I can't find a way
to pose an "are you there?" query that doesn't throw some sort of
"object not found" error when there are no qualifying records. It's
like one of those Zen koans.
SHould I use an "on error" to identify this condition?
That should work. Or, as Chris N. suggested, check the type of the
result; if it's a list, get a count of its items. Proceed from there.
-- Michelle
--
"My country, right or wrong: if right, to be kept right; and if wrong,
to be set right."
Senator Carl Schurz of Missouri, 1899
_______________________________________________
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.