• 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: Gary Lists <email@hidden>
  • Date: Fri, 27 Feb 2004 01:18:43 -0500

Chris Espinosa wrote [2/27/04 12:35 AM]:

>> Please, tell me I'm just doing something stupid.
>
> You're not; FMP is. And it's been this way for twelve years or so, and
> people who script FMP regularly are just used to it, that's all.
>
> The results of 'every record whose' can be one of three things:
> - if no qualifying records: no result
> - if one qualifying record: a record object specificer
> - if more than one qualifying record: a list of record object specifiers

But after you (the OP) coerce the incoming result to a list, then you will
have slightly different conditions to test for.

(Also, as I wrote to you some time ago, Chap, it may really be better to
make a one or two line sub-routine script in FM, then just use the 'do
script FileMaker script "name-of-script"' to call the script.

You can very easily hard-code finds in a FM script (just perform the find
once, then make a script and check 'no dialog').

This is (to me, and I think to at least some others) preferable to using
'whose' clauses to match records. When they work, they are a charm. When
they don't -- or when the app returns any number of classes of result --
they can be pain to work with in AS for FileMaker. [Another case of an
Apple product that doesn't quite buy into the premise of AppleScript?!
Hmmm.]

--
Gary
_______________________________________________
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: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Results differ in editor and applet
  • Next by Date: Text to iPod
  • 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