M
mm
Hello, I have used these two codes to generate random
numbers.
one=int(rnd()*100000 and
two=CLng(100000*rnd(0))
I have the a form that contains a text box where each of
the numbers is displayed.
These generate five digit numbers just fine, however,
every time I close the database and open the next day I
get the same random numbers in the same order as the day
before. I need to use these random numbers to input
unique ID values for new database entries. Is there a way
that I can generate the random numbers without any
repitition?
Thanks!
numbers.
one=int(rnd()*100000 and
two=CLng(100000*rnd(0))
I have the a form that contains a text box where each of
the numbers is displayed.
These generate five digit numbers just fine, however,
every time I close the database and open the next day I
get the same random numbers in the same order as the day
before. I need to use these random numbers to input
unique ID values for new database entries. Is there a way
that I can generate the random numbers without any
repitition?
Thanks!