• 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: Michael Grant <email@hidden>
  • Date: Fri, 27 Feb 2004 17:14:17 -0600

On Feb 27, 2004, at 4:42 PM, Chap Harrison wrote:

On Feb 27, 2004, at 4:07 PM, Michael Grant wrote:

tell application "FileMaker Pro"
tell database "LineItems"
exists (record 1 whose cell "Price" is "*") -- returns true or false
end tell
end tell


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

--
2. If it's stupid but it works, it's not stupid.
_______________________________________________
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>)

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