MS Access and expression web

  • Thread starter Thread starter Guest
  • Start date Start date
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

Similar Threads

why does Random: Rnd() not work for random sort? 2
Real 10 random records 7
Select Record Query 1
Select Query 1
query on query 1
Excel/Access problem with Rnd() 5
select random record 2
Multiple Choice 3

Back
Top