L
Locky
Hi
I want to fill several fields in access with random numbers in mod 10,
based on whether another field is empty or not.
I use the following query:
UPDATE tbl_Results SET Q11_17 = (Int((100000-50+1)*Rnd()+100000) Mod
20)*10
WHERE Q8_17<>'' OR Q8_17 IS NOT NULL;
If I run this query, every field in Q11_7 which meets the criteria is
filled with the same random number.
How do I re-initialise the random number before the query is exectuted
against the next field?
Thanks
LockyBoy
I want to fill several fields in access with random numbers in mod 10,
based on whether another field is empty or not.
I use the following query:
UPDATE tbl_Results SET Q11_17 = (Int((100000-50+1)*Rnd()+100000) Mod
20)*10
WHERE Q8_17<>'' OR Q8_17 IS NOT NULL;
If I run this query, every field in Q11_7 which meets the criteria is
filled with the same random number.
How do I re-initialise the random number before the query is exectuted
against the next field?
Thanks
LockyBoy