Answered
Random record selection in Access
I need to define a record set in ASP / Access consisting of a
single record from the available records.
In PHP / MySQL I have used the following and it works fine:
SELECT *
FROM photolist
ORDER BY RAND()
LIMIT 1
Can anyone give me a suitable recordset definition to do this in access?
In PHP / MySQL I have used the following and it works fine:
SELECT *
FROM photolist
ORDER BY RAND()
LIMIT 1
Can anyone give me a suitable recordset definition to do this in access?