My new function or the original query of queries?
The function can be found here:
http://www.blogoffusion.com/index.cfm/2006/4/25/Query-of-Query-function
while the original query of queries is:
<cfloop list="#structkeylist(request)#" index=:"varname">
<CFSET requestvar='request.'&varname>
<CFSET requestvarvalue=request[varname]> <!--- MD replace of evaluate --->
<CFIF IsQuery(requestvarvariable) and isdefined(requestvar&'.idobject')>
<CFQUERY dbtype="query" name="tempquery">
    select * from requestvarvalue
    where lower(idobject) in (#lcase(allowobjects)#)
</cfquery>
<CFSET '#requestvar#'=tempquery>
......

This is on CFMX 6.1

> Can you post the code for the qofq?
>
> ~Brad
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238727
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to