Hi. I have a cached query, as below, which runs on a number of pages:
<cfquery cachedwithin="#createtimespan(1,0,0,0)#" name="findcats" datasource="#application.DSN#"> SELECT sub_name,cat_name FROM categories, sub_cats WHERE categories.ID = sub_cats.cat_id ORDER by cat_name </cfquery> The data in the query will only be changed monthly, at most. If I had a var such as <cfset LeadCat = 100> (which would correspond to categories.ID), could I grab categories.cat_name from the cached query without altering it, somehow? I could probably have worded it better, but I hope it's enough for someone to understand! Thanks Will ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

