Re: FMP question
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