Yes Steve, that's the one! Don gave me the hint, but I didn't seem to need
the self-join relationship, for which I'm glad as they always make me a
little nervous.


on 22.05.2008 15:49, Steve Moore at [EMAIL PROTECTED] wrote:

> Hi Emma,
> 
> On May 22, 2008, at 5:33 AM, Emma Glaisher wrote:
>> I often use Filemaker to prepare text to be imported into
>> QuarkXPress. I have calculation fields that add formatting tags to
>> the text.
>> 
>> However, sometimes I want to put something in depending on the
>> content of a field compared to the field in the previous record.
> 
> What version of Filemaker? 8.5 and above have the GetNthRecord
> function which would handle this nicely.
> 
>> 
>> Now, I want the Balloons calculation to say ŒAha, the first letter
>> of Balloons is not the same as the first letter of Apples (the
>> previous record). I will need a heading to announce that there is a
>> new letter, so I shall also add into my calculation field:
>> 
>> <Heading>B<end Heading>return
>> <B>Balloons<B> 27
>> 
> 
> Case (
> Left(GetNthRecord ( Product ; Get ( RecordNumber ) ) ; 1)  ‚ Left
> (GetNthRecord ( Product ; Get ( RecordNumber ) - 1 ) ; 1 ) ;
> "<Heading>¶"  & "<B>" & Product & "<B> " & PageNum  & "¶";
> "<B>" & Product & "<B> " & PageNum  & "¶"
>   )
> 
> 
> HTH
> --
> Steve Moore
> Cumberland, Maine
> 
> - -
> Inbound email: This email has been scanned for viruses by MessageLabs
> (Fourninety)


- -
Fourninety Limited, a member company of the Media Square plc group. Registered 
in England No. 3737606. Registered address Clarence Mill, Clarence Road, 
Bollington, Cheshire. SK10 5JZ

Confidentiality Notice: The information in this document and any attachments 
are confidential. It is intended only for the use of the named recipient. If 
you are not the intended recipient please notify us  immediately and delete 
this document. The contents on this document must not be disclosed to any other 
person nor may any copies be taken. The views of the author may not represent 
the views of the Company.

Security Warning: This e-mail has been created in the knowledge that Internet 
e-mail is not a 100% secure communications medium. All liability for any claims 
arising as a result of using this medium to transmit information by us or to us 
is excluded to the extent permitted  by law.

Reply via email to