Skip to main content
Jul 13, 2011 12:08 PM UTC
Question

Search - Random Result in ASP

hi all..

i already create search page in asp. The SQL command like this (i'm using MSAccess)

SELECT *
FROM tablename
WHERE '' + tableid + '' LIKE %MMColParam%

tha problem is, i do not have any idea to make the result from table will appear Randomly.

Anybody can guide me to solve this problem?

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Lon_Winters
Inspiring
Jul 13, 2011 1:59 PM UTC

Not sure what you mean. Do you want it to select a random tableId?

Translate
Jul 14, 2011 7:02 AM UTC

yes

example, in tableid i have info like 0ne, two, three, four, five, six

when we search... the result will appear like six, five, one, three, two, four

and other people search will appear two, one, six, four , three, five

Randomly

TQ for reply

Translate
Lon_Winters
Inspiring
Jul 14, 2011 4:17 PM UTC

I'm not sure how I would go about this. It sounds like you're tying to build a slot machine type game or something. How will the search function - is the a text entry, a drop down, a button, etc?

Translate