MS Access and expression web

G

Guest

hy all
i am trying to generate a random query to display a random record of an
access database.

i tried this one :

SELECT TOP 1 [id], [name], [short_review], [last_edit_date], [Photo_small]
From [Books] ORDER BY RND([id])

but i get the same record all the time.
i tried using the SQL command NEWID () instead of RND but ir didnt work.

any suggestions ?

thank - johnathan
 

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.

Ask a Question

Top