I usually pass in a name to the tag so that my calling page can use whatever it likes or call the tag multiple times:
<cfparam name="attributes.r_queryname" default="foo"> and then before the return: <cfset temp =setvariable("caller." & attributes.r_queryname,duplicate(localqueryname))> ----- Original Message ----- From: "Daye, Marianne" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 03, 2002 10:10 AM Subject: Passing recordset to caller template > How do I pass query results from a custom tag to a caller template? > > Marianne Daye > Programmer/Analyst > Information Delivery Systems > http://ids.rti.org > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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