A few ways,
1) Just name the query caller.whatever.
cfquery name=caller.Data ...
2) Just set it:
cfset caller.data = data
===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email: [EMAIL
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
Never mind, I figured it out.
In custom tag:
cfquery name=REQUEST.QueryName...
In calling template:
cfoutput query=REQUEST.QueryName
..
Easier than I thought!
Marianne
-Original Message-
From: Daye, Marianne [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 12:11 PM
To:
Thanks, Raymond! The first approach works. I can't get the second one to
work, but that's OK; as long as 'something' works.
Marianne
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 12:22 PM
To: CF-Talk
Subject: RE: Passing recordset
4 matches
Mail list logo