T
The Boondock Saint
Hello Everyone,
Im trying to make a query which will allow me to run a query update so that
all my listings will get a new random number generated for them,
Ive got it selecting any listing with a ID of >0 (so basically thats all of
the listings)
What id like it to do is then assign a random number to the randsort field,
(prefer a number like 0.812 or 0.342 etc etc)
To start with ive tried using the Rnd feature, but its updating all the
listings with exactly the same number (though granted the number changes
each time the query is run)
I see in some of the other comments regarding rnd that you may need to put a
randomize statement somewhere,
Im very new to programming in access and was just wondering am I on the
right track, and if so where abouts should i declare the randomize code
since its in a query?
Thanks for your time and look forward to your replies
Cheers Saint
MSACCESS 2003
Im trying to make a query which will allow me to run a query update so that
all my listings will get a new random number generated for them,
Ive got it selecting any listing with a ID of >0 (so basically thats all of
the listings)
What id like it to do is then assign a random number to the randsort field,
(prefer a number like 0.812 or 0.342 etc etc)
To start with ive tried using the Rnd feature, but its updating all the
listings with exactly the same number (though granted the number changes
each time the query is run)
I see in some of the other comments regarding rnd that you may need to put a
randomize statement somewhere,
Im very new to programming in access and was just wondering am I on the
right track, and if so where abouts should i declare the randomize code
since its in a query?
Thanks for your time and look forward to your replies
Cheers Saint
MSACCESS 2003