Script needed for generating permutations

Discussion created by dvalley on Jun 26, 2013
Latest reply on Jun 28, 2013 by FileKraft

I have been racking my brain over this one all day: I need a recursive script to generate a record for each of the non-repeating permutations for a series of five fields utilizing a total of n numbers (say, up to 35). I know that the total number of records genrated will be 38,955,840, but it is the structure of the script that is of interest. I have seen custom functions that come close, but with the recursion limit, they are of no use to me.