Hi,
Writing to see if anyone has experienced this problem besides me.
I have a form open event that updates a table field with a random number, then posts that number to a field on the form.
What I noticed was that Access is generating the same random numbers in the same order each time I compact the database. So, every time the user logs in, the system will begin generating the same random numbers in the same order all over again, which seems not-random to me.
I am wondering if Access has some sort of algo for the rand function that I am not aware of, or if anyone else has noticed this besides me and dealt with it.
lRand = Round(Int((899999999 - 100000000 + 1) * Rnd + 1000000000), 0)
Writing to see if anyone has experienced this problem besides me.
I have a form open event that updates a table field with a random number, then posts that number to a field on the form.
What I noticed was that Access is generating the same random numbers in the same order each time I compact the database. So, every time the user logs in, the system will begin generating the same random numbers in the same order all over again, which seems not-random to me.
I am wondering if Access has some sort of algo for the rand function that I am not aware of, or if anyone else has noticed this besides me and dealt with it.
lRand = Round(Int((899999999 - 100000000 + 1) * Rnd + 1000000000), 0)