PDA

View Full Version : Solved: How to pick a specific random records from a query?



winxmun
04-17-2011, 06:44 PM
Hi Morning,

May I know how to randomly pick up some of the records from a specific period?

Currently I manually run the query with the period and export out the data to excel. Thereafter randomly delete the records manually. This is very tedius as the total record is about 3000 but i just want 30 records from there only.

:help
Thank you in advance!

orange
04-18-2011, 05:49 AM
See this
http://www.techrepublic.com/blog/howdoi/how-do-i-retrieve-a-random-set-of-records-in-microsoft-access/149

winxmun
04-24-2011, 04:40 AM
thanks for the link. I will try.

winxmun
01-09-2012, 06:50 PM
Hi Orange,

It works perfectly fine! Thanks for the link.
btw, i found this link very useful as well.

http://www.databasedev.co.uk/random_query.html