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: Michael Grant <email@hidden>
- Date: Fri, 27 Feb 2004 09:06:55 -0600
On Feb 27, 2004, at 8: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?
Once you're sure your variable is a list (discussed yesterday--the way
I would tackle it would probably be to initialize the variable as a
list, then copy stuff to the end of it in my loop), you can use:
if ((count theList) > 0) then
-- do your thang
end if
Michael
--
Where are we going? And what am I doing in this handbasket?
_______________________________________________
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.