Brian Dunning's FileMaker Custom Functions

NoRepDigit ( hightDigit ; digitCount )

returns a random number of "digitCount" digits with all different digits from 1 to "hightDigit"

  Average rating: 4.1 (35 votes) Log in to vote

Daniele Raybaudi   Daniele Raybaudi - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
NoRepDigit ( 5 ; 5 )
NoRepDigit ( 8 ; 5 )
  Sample output:

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

Format: NoRepDigit ( hightDigit ; digitCount )

hightDigit - number (max 9)
digitCount - number (max 9)

returns a random number of "digitCount" digits with all different digits from 1 to "hightDigit"
(produce in modalità random un numero di lunghezza: "digitCount" con cifre tutte diverse tra 1 e "hightDigit");
two examples (due esempi):
NoRepDigit ( 5 ; 5 ) may return (può produrre): 12345;
NoRepDigit ( 8 ; 5 ) may return (può produrre): 23781.
"digitCount" can't ever be highter than "hightDigit"
("digitCount" non deve mai essere superiore a "hightDigit")
the number returned has no zero inside
(il numero creato non conterrà alcun zero).



Log in to post comments.


Note: these functions are not guaranteed or supported by 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:

Under construction. Email me your wish list for improvements.