In Access, the Rnd function returns a single containing a random number. You can specify the random number to be a value between 2 user-specified numbers.
The syntax for the Rnd function is:
Rnd ( number )
The argument number can be any valid numeric expression. The Rnd function returns a value less than 1 but greater than or equal to zero. To produce random integers in a given range, use this formula: