Brian Dunning's FileMaker Custom Functions

RandomPick ( theList ) ver 1.1

Randomly select a value from a dynamic list

  Average rating: 4.4 (24 votes) Log in to vote

Geoff Wells   Geoff Wells
DataIsland Software LLC
http://www.dataisland.com

Share on Facebook Share on Twitter

  Sample input:
RandomPick ( "List value one¶List value two¶List value three" )
  Sample output:
List value two

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

Use this function in a script to display a random value from one or more dynamic lists. Use the list field name as the script parameter to pass to the function. Different buttons can use the same script to choose from different lists.

This updated version strips off the trailing carriage return which messes up some other of my custom functions.

 

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.