Does Access have a random number generator function? You could do something like this
select fooCol1, fooCol2, fooCol3, randrange(1,100000) as rnd_col from fooTbl where a = this and b = that order by rnd_col something like that would work smooth... every time the page is refreshed the order would change On Fri, Mar 14, 2008 at 11:19 AM, Jeff F <[EMAIL PROTECTED]> wrote: > I need to query an Access Database for a few records (10 to 15) that meet a > criteria, then display the results randomly. There's many ways to query > randomly, but once I have my 10 records, I need a way to display them > randomly. > > I've got a few ugly ideas about having a number of queries each with a > different ORDER BY, then randomly running one query. > > Is there a nifty way to do this at the output?? I can't think of anything. > > -jeff > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301289 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

