• 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: FMP question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FMP question


  • Subject: Re: FMP question
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 03 Nov 2000 08:40:23 +1100

On 2/11/00 8:23 PM +1000, Paul Berkowitz, email@hidden, wrote:

> On 11/1/00 1:59 PM, "Shane Stanley" <email@hidden> wrote:
>
>> tell database 1
>> tell layout y
>> try
>> set x to record 1 whose cellValue of cells = {b, f, c, d, e}
>> on error
>> set n to ""
>> end try
>> end tell
>> if n  {b, f, c, d, e} then
>> tell layout x
>> create new record at end with data {a, b, c, d, e, f, g}
>> end tell
>> end if
>> end tell
>>
>> That should speed things up quite a bit.
>
>
> This method is excellent.

But buggy :-( It doesn't allow for the fact that there might be more than
one record "whose cellValue of cells = {b, f, c, d, e}". Fairly easily
fixed, though.

--
Shane Stanley, email@hidden


  • Follow-Ups:
    • Re: FMP question
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: FMP question (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: FMP question
  • Next by Date: Re: List Header complaints
  • Previous by thread: Re: FMP question
  • Next by thread: Re: FMP question
  • Index(es):
    • Date
    • Thread