If your query is actually #request.thequery#, that variable becomes an object, not a string (the name of your query). Before your CFQuery tag, try dumping the name of your query into a separate string
--- Billy Cravens ----- Original Message ----- From: "Alexander "just me" Apartsev" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 12:19 PM Subject: query name vs. query object > Hello All, > > i have a custom tag making a query. I would like to access its results in > another custom tag or else in the calling template. > > The custom tag making the query is called from another custom tag. > > <CFOUTPUT query="#request.thequery#"> doesn't work cause it needs a literal, > not a query object. > > Is there a solution? > > Thanks in advance > > Alexander Apartsev > [EMAIL PROTECTED] > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists