Custom Tag: cf_randomquery Version: 1.0 (c) 2004, Rizal Firmansyah, rizal.firmansyah@masrizal.com Disclaimer: This custom tag was written to help developers create a random recordset easily, and without the need to know or change their SQL code. This custom tag comes with a very low price. I believe the price of this custom tag is less than an average 1 hour programmers rate. But by using this custom tag, you save lots of your valuable time writing SQL code to produce the same result. And because of its very low price (esp. comparing your rate to create such a function in SQL), i would like to give a license to use this tag is for "1 copy per developer". That means each developer must purchase a copy of this custom tag for his/her own use. For full license and disclaimer about this tag, please read: license.txt ------------------------------------------------------------------------------- cf_randomquery is a quick solution to give a random recordset. This custom tag supports any kind of query (recordset) as the datasource, not limited to specific database. *** Requirements: ColdFusion 5, MX and up *** Usage: *** Examples: 1. Randomize recordset from database query. SELECT PARKNAME, REGION, STATE FROM Parks 2. Randomize recordset from programmatically created query *** Important Note: This custom tag adds one column name "cf_randomquery" to the resulting recordset. You may want to remove this column if your application manipulate data from query directly without specifying column name. So, please keep in mind that you are recommended to specify column names to manipulate data from resulting random query. ------------------------------------------------------------------------------- Hope you find this tag useful. Sincerely, Rizal Firmansyah