Hello all,
In my program I need to collect all people who have a specific statuscode. Once these people are collected I need to randomly select each one and assign them to a specific group of no more than 30 people per group. So depending on the number of eligible people I could have up to 6 groups. I have located the RandomFrom function that returns a randomly selected element from an array (put the person's id number in the array), but I then need to remove it once it's been selected so it doesn't get selected twice and assign the Groupnumber and personnumber within the group. I'm also not sure how to initialize the random number generator. Any suggestions on how to accomplish this?
Thanks!
Leslie
landrews@metrocourt.state.nm.us
SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned
In my program I need to collect all people who have a specific statuscode. Once these people are collected I need to randomly select each one and assign them to a specific group of no more than 30 people per group. So depending on the number of eligible people I could have up to 6 groups. I have located the RandomFrom function that returns a randomly selected element from an array (put the person's id number in the array), but I then need to remove it once it's been selected so it doesn't get selected twice and assign the Groupnumber and personnumber within the group. I'm also not sure how to initialize the random number generator. Any suggestions on how to accomplish this?
Thanks!
Leslie
landrews@metrocourt.state.nm.us
SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned