B
barnettcb
Hello,
I need some assistance with a random number generator question.
First let me outline the data I will be given from the user:
1) The random numbers will be assigned to employees, so the user will
enter the number of employees, such as 8.
2) The user should then be able to input either a percentage, or a
whole number to specify how many random numbers to generate, such as
25% or 2.
3) The user will then input another percentage or whole number, such as
25% or 2, again. These will generate back up random numbers.
4) After clicking a "generate" command button, the selected random
numbers should be displayed (I will probably use a report preview).
With the above example, I should have 2 primary and 2 backup random
numbers between 1 and 8, such as 2, 5, 6, and 8. Obviously, a number
cannot be returned twice, and I need the numbers to be as random as
possible (Randomize, I believe it is called?).
Sorry if this is confusing... I will try to clarify if necessary
Any help is greatly appreciated!
Brooke
I need some assistance with a random number generator question.
First let me outline the data I will be given from the user:
1) The random numbers will be assigned to employees, so the user will
enter the number of employees, such as 8.
2) The user should then be able to input either a percentage, or a
whole number to specify how many random numbers to generate, such as
25% or 2.
3) The user will then input another percentage or whole number, such as
25% or 2, again. These will generate back up random numbers.
4) After clicking a "generate" command button, the selected random
numbers should be displayed (I will probably use a report preview).
With the above example, I should have 2 primary and 2 backup random
numbers between 1 and 8, such as 2, 5, 6, and 8. Obviously, a number
cannot be returned twice, and I need the numbers to be as random as
possible (Randomize, I believe it is called?).
Sorry if this is confusing... I will try to clarify if necessary
Any help is greatly appreciated!
Brooke