anorakgirl
Programmer
hey all,
desperately trying to retrieve a random record from a table. i know i can do it by creating a recordset containing all rows, generating a random number then moving to that row, but if its a big table, surely thats going to be slow as it must have to retrieve all the records up to the one i want.
i was wondering if its possible in access to do a query with a limit 1, offset n type clause, or something like where recordnumber = n
there must be some way to do this efficiently? please...
thanks 4 any help,
AnorakGirl
~ ~
desperately trying to retrieve a random record from a table. i know i can do it by creating a recordset containing all rows, generating a random number then moving to that row, but if its a big table, surely thats going to be slow as it must have to retrieve all the records up to the one i want.
i was wondering if its possible in access to do a query with a limit 1, offset n type clause, or something like where recordnumber = n
there must be some way to do this efficiently? please...
thanks 4 any help,
AnorakGirl
~ ~