Unique List

Version 2

     

    Script

     

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

    Description

    Previously, we published the technique for obtaining a list of values from the found set of records by using a custom function rather than a script. The intent of this function was to replace the Copy All Records technique to obtain a list of values. The next natural progression of this technique is to find a unique list of values from the found set of records. This is useful for pop-up menus as well as dynamic scripting of reports. The custom function cfUniqueList will be demonstrated in this article. To inspect the custom function you will need FileMaker Advanced.

     


    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.