Multiple Field Concatenation List Function

Version 2

     

    Script

     

    Compatibility
    Creator
    Mac OS X, Windows
    Todd Duell
    FMP 8.5, 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ .71 megabytes
    http://www.formulationspro.com

    Description

    The new List function in FileMaker Pro 8.5 has a lot of opportunity for interesting data processing. One of the techniques that comes to mind right away is sending an invoice to a customer via e-mail with all the line items listed in order using a single calculation field. Traditionally this is performed with a script that loops through the portal rows and writes the text to a global field. By using the custom function capabilities of FileMaker Pro Advanced and the List function we can eliminate the need for a script and write out all the related record's text with a recursive function. If you don't have FileMaker Pro Advanced I'll offer an alternate technique that works just as well.

     


    Code

     

    Sample Input

    Sample Output


    Developer's Notes

    See sample file for full demo and technical article.

     


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.