You can try this udf: http://www.cflib.org/udf.cfm?id=524
Mario -----Original Message----- From: Claremont, Timothy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 3:47 PM To: CF-Talk Subject: Returning Random Records I have a request to return a set number of random records that meet certain criteria. In other words, based on input from a form, I want x (anywhere from 5 to 100) random records that fall between StartDate and EndDate and belong to Center x. How do I accomplish the random sampling? TIA Tim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182664 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

