Brian Dunning's FileMaker Custom Functions

AS_dynamic_Sort ( List_of_FieldNames ; AscDescCustom )

Sort records dynamically by a list of fieldnames and order. (OS X only, AppleScript)

  Average rating: 4.3 (19 votes) Log in to vote

Thomas Siebert   Thomas Siebert - Show more from this author
http://www.t-seabird.de

Share on Facebook Share on Twitter

  Sample input:
AS_Sort ( "Zip¶LastName" ; "asc" )
  Sample output:
Sort records by fields "Zip" and last name in ascending order.

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Sort records dynamically by a list of fieldnames and order.

Use the ScriptStep "Perform AppleScript" using the option "Calculated AppleScript"
You also shall use "Perform AppleScript" directly from a button.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: