Will, To get the number of times a term appears, try grouping by searchterm and doing a COUNT() aggregate - then just do a CFChart bound to the query.
-Joe On 4/20/05, Will Tomlinson <[EMAIL PROTECTED]> wrote: > I wanted to make a simple chart out of my tblsearches - searchID, searchterm > > I could use a bunch of cfquery's containing SELECT count(*)'s with WHERE's > but how would I build this dynamically, depending on what values where in > tblsearches.searchterm to start with? > > Thanks, > Will > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:203618 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

