Conditional Sorting

Version 2




    Mac OS X, Windows
    Todd Duell
    FMP 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ .68 megabytes


    The dynamic sorting trick has been around for quite some time. However, FileMaker 9 offers a new trick for both old and new developers. FileMaker offers no obvious formatting to indicate to a user that a field has been sorted in either ascending or descending order. I've asked FileMaker for years to either use the status area to list the fields that are sorted or list the fields that are sorted with the Get(SortState) function. However, I don't think either of these items are ever going to happen, so I've designed a method that uses minimal overhead to provide immediate feedback to the users for the sort direction of a field.




    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.