yes - it is possible to have a query in a custom tag, and make it available
in the calling page...
<cfquery name="queryOnThisPage" ...> SQL... </query>
<cfparam name="caller.queryname" type="query" default="#queryOnThisPage#">
I've only used this to pass back to the calling page - no idea if it works
for other scopes (e.g request, session etc) but I would tend to shy away
from storing queries in the session scope due to the potential for clogging
server memory...)
HTH - if this doesnt quite cover what u need - let me know...
:> -----Original Message-----
:> From: sam sidhom [mailto:[EMAIL PROTECTED]]
:> Sent: 07 December 2000 14:42
:> To: CF-Talk
:> Subject: passing cfquery results to another page
:>
:>
:> Can anyone tell me if there is anyway CF will pass the
:> results of a CFQuery to another page without having to
:> requery the database?
:>
:> Thanks,
:>
:> Jennifer Johnson
:>
:>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists