Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Random Pick

Status
Not open for further replies.

Ptrif

Technical User
May 19, 2003
106
US
I was wondering if someone can tell me the possibility of this. I would like to create a form that would randomly pick a person from a table. So if i have a basic table with say 30 names in it, i want to be able to create a form where there is a field and a button, when the button is pressed i would like it to choose at random and populate the field with one of the names from the table. Is this possible to do in access? any help is appreciated.

Thanks!

Paul
 
Take a look at the Rnd function.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top