in a query in my sqldatabase web i used this code
SELECT TOP 1 Quotes,Author FROM QUOTES ORDER BY NEWID()
but not working in access database web
i solved with a little edit on your code
SELECT TOP 1 Quotes, Author FROM QUOTES ORDER BY Rnd(-10000000*TimeValue(Now())*[id])
and it works fine
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.