If you're using SQL Server, try doing the randomising in the query. SELECT * FROM yourTable ORDER BY NEWID()
There's also something like this in mySQL and no doubt other DBs. Ade -----Original Message----- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: 25 March 2005 17:32 To: CF-Talk Subject: randomize Hi, I have a query and i want to display the results randomize at each load of the page. query : select questID from quest order by questID There is 50 questID. I'm under CF5 for this one. Thanks Pat -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.1 - Release Date: 23/03/2005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200043 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

