Brian Dunning's FileMaker Custom Functions

FiveFieldsPermutations ( field1 ; field2 ; field3 ; field4 ; field5 ; number )

Returns all 120 simple permutations of the contents of five fields

  Average rating: 4.2 (31 votes) Log in to vote

Daniele Raybaudi   Daniele Raybaudi
ACI
http://www.aci.it

Share on Facebook Share on Twitter

  Sample input:
field1="a "
field2="the "
field3="killer "
field4="man "
field5="killed "
  Sample output:
...among all the 120 permutations:
the killer killed a man
the man killed a killer
...

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

Returns all 120 permutations of the contents of five fields.
The "number" parameter must be set to 0

 

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.

Under construction. Email me your wish list for improvements.