Random recordsets

P

polilop

I have a query to a database that returns some recordsets. What i need to do
is pick 5 random recordsets from those retreved from the query???
 
E

Evertjan.

polilop wrote on 25 nov 2005 in microsoft.public.inetserver.asp.general:
I have a query to a database that returns some recordsets. What i need
to do is pick 5 random recordsets from those retreved from the
query???

Put them [their ID] in an array,
randomly take one and label that arrayitem,
replace the array with one without the labeled one,
do the above 5 times.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top