• 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: Chap Harrison <email@hidden>
  • Date: Fri, 27 Feb 2004 18:17:02 -0600

Interestingly, it doesn't throw an error. It simply returns 'false' under all conditions.

Could that be because your "Price" is a number field? The script below returns true for an actual database on my system right now:

tell application "FileMaker Pro"
tell database "units.fp5"
exists (record 1 whose cell "unit" is "standard page")
end tell
end tell


Michael,

I thought of the numeric problem, and changed things to store a neg. number instead of asterisk, but it still didn't work. At some point after that I shut off Entourage, FMP, Script Editor, and Script Debugger, and started them back up again. Just recently I tried using the "existence of record 1" test (having reverted back to using asterisk in a numeric field) and it works just fine!

Sorry for the misinformation. At the moment it seems like my problem is solved :-D

Chap
_______________________________________________
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>)
 >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>)
 >Re: AS/FMP: a list of fewer than two records (From: Michael Grant <email@hidden>)

  • Prev by Date: Re: 2 queries - file/creator type and do shell "rm"
  • Next by Date: Re: moot [was: AS/FMP: a list of fewer than two records]
  • 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