• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AS/FMP: a list of fewer than two records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: AS/FMP: a list of fewer than two records
      • From: Chap Harrison <email@hidden>
References: 
 >Re: AS/FMP: a list of fewer than two records (From: Gary Lists <email@hidden>)
 >Re: AS/FMP: a list of fewer than two records (From: Chap Harrison <email@hidden>)
 >Re: AS/FMP: a list of fewer than two records (From: Michael Grant <email@hidden>)
 >Re: AS/FMP: a list of fewer than two records (From: Chap Harrison <email@hidden>)

  • Prev by Date: Re: sine and cosine functions
  • Next by Date: Re: EOF error on one user's Mac
  • Previous by thread: Re: AS/FMP: a list of fewer than two records
  • Next by thread: Re: AS/FMP: a list of fewer than two records
  • Index(es):
    • Date
    • Thread