Using a Query to display Random Records
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 9377
Total Votes: 89 votes
Category: MS Access/Query Languages
Submitted on: 2008-04-15 07:39:38
Submitted By: Shekhar
Description: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. More detail...