If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
how to select a random item from a field
I am building a simple database to randomly select items from a table, but
can't seem to build a query that will randomly select one record from the table. Thanks, |
#2
|
|||
|
|||
how to select a random item from a field
Try this --
SELECT TOP 1 [YourTable].* FROM YourTable ORDER BY Rnd(Asc([YourTable].[SomeField])); "JohnL" wrote: I am building a simple database to randomly select items from a table, but can't seem to build a query that will randomly select one record from the table. Thanks, |
Thread Tools | |
Display Modes | |
|
|