code for random, 1 - 2 digit whole numbers:
just take tmp, and add it to a field in a current recordset (RS)Code:Dim tmp As Long Randomize tmp = Rnd() * 100 Debug.Print tmp
rs.fields("MyField").value = rs.fields("MyField").value & tmp
HTH
Tom
|
Results 1 to 2 of 2
Thread: Adding random numbers to a fieldThreaded View
|
Click Here to Expand Forum to Full Width |