Assuming a numeric primary key named "ID", use this in the ORDER BY clause
of your query:
ORDER BY Rnd([ID])
Note that you need to issue the Randomize statement before running the
query.
(The Rnd() function does not actually do anything with the ID value, but if
you do not pass the value in, the query optimizer doesn't bother calling the
function again at every row.)
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.