Using a Query to display Random Records
Tutorials Shared by the Internet Community
Using a Query to display Random RecordsThis article details how we can display random records from a Microsoft Access table using the Rnd function in our query.
Total Hits - 37379
Total Votes - 111 votes
Vote Up - 48 votes
Vote Down - 63 votes
Domain - www.databasedev.co.uk
Category - MS Access/Query Languages
Submitted By - Shekhar
Submitted on - 2008-04-15 07:39:38
This article details how we can display random records from a Microsoft Access table using the Rnd function in our query. There may be times where we need to see a sampling of records from the table and we might want to return 20 records at random.
If we just apply the Rnd() function in the query, the function is only evaluated a single time, therefore the function will return the same value for each record in the query.
Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.http://www.databasedev.co.uk/random_query.html