Having trouble getting this loop to work. I'm not sure anymore if it is even 
possible, but it seemed like a good way to go at the start.

What I'm trying to do is have the loop take the list (it can be anything from 1 
to 42 items long) from a form and then run the function in the <cfquery> for 
each item in the list and keep the output from each iteration of the query in 
#mcategories# 

<cfloop list="#mcategory#" index="mcategories" delimiters=",">
<cfquery name="qGetMList" datasource="ROL">
select * 
from ROL.getcategorydetailnames(#mcategories#);
</cfquery>
</cfloop>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312726
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to