G
Guest
Hello,
I would like to select/filter at random 30 records out of an Access-table of
1500 records. I know the option "Top" which gives me the possibility to see
the 30 first records of the table The problem is that this option is linked
to the way of sorting the table. So you will always select from a very
restraint part of the 1500 records.
Is there a possibility
* to select or sort at random in Access. Maybe there exists an sql-syntax?
* to use a similar function like the funciton Aselect in Excel, which gives
me the possibility to get an number at random
That's the way I resolve at this moment my problem. I export my table to
Excel, I accord an number at random (using the function Aselect) to each
record, I import again in Access and I sort on the number, before using the
function Top. The next time, I use the same procedure to get another set of
records.
I assume there must be an easier way to do it?
Is there anybody who knows another solution?
Thanks in advance
I would like to select/filter at random 30 records out of an Access-table of
1500 records. I know the option "Top" which gives me the possibility to see
the 30 first records of the table The problem is that this option is linked
to the way of sorting the table. So you will always select from a very
restraint part of the 1500 records.
Is there a possibility
* to select or sort at random in Access. Maybe there exists an sql-syntax?
* to use a similar function like the funciton Aselect in Excel, which gives
me the possibility to get an number at random
That's the way I resolve at this moment my problem. I export my table to
Excel, I accord an number at random (using the function Aselect) to each
record, I import again in Access and I sort on the number, before using the
function Top. The next time, I use the same procedure to get another set of
records.
I assume there must be an easier way to do it?
Is there anybody who knows another solution?
Thanks in advance