ok...this worked:
on the calling page i did:
<CF_test_ct>
<CFA_Dump VAR="#request.test#">
on the called page, i did:
<CFQUERY NAME="request.test" DATASOURCE="test">
SELECT FirstName, LastName
FROM Users
</CFQUERY>
<CFSET request.myvar="var">
<CFSET "caller.request.#request.myvar#"=duplicate(request.test)>
so....the code should work with the extra "request." in the cfset
statement. however, i'm still not convinced that you need to do it this
way....but at least we know the code works! :) -emily
************
> <cfset "caller.#request.r_query#" = duplicate(request.q_all_files)>
>.. . . to "return" the final query to the calling template.
oooooohhhhhhhhh...i think i understand. i think the problem has to do with
the fact that what i think you're really doing in that statement is to try
and copy the query set into a LOCAL variable - a non-complex variable type
that can't hold queries. "caller." is really a local variable that's
exposed to the calling page. hmmmm....have you tried:
<CFSET "caller.request.#request.r_query#"=duplicate(request.q_all_files)>
???
maybe by scoping it into the request scope somehow before it's exposed back
to the calling page?
i have no idea if that will work...just a theory. let me know! -emily
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.