Is there a way to pass a queryname as a variable to a cfloop? Here's the code I
am working with:
<cfloop query="qindustry">
<cfset Output_Code = "#Output_Code# <input type=""checkbox""
id=""#Attributes.fieldname#"" name=""#Attributes.fieldname#""
value=""#Evaluate(Attributes.Value_Var)#""
#IIF((listfind((evaluate(Querylist)),"#Evaluate(Attributes.Value_Var)#")), DE("
checked"), DE(""))#> #Evaluate(Attributes.Name_Var)#<br>">
</cfloop>
Makes great radio boxes, but I need to be able to do this for multiple pages -
so far any time I try to put a variable in the query value, it can't figure out
what the variable is.
Thanks in advance,
~CB
Dan Bracuk - 28 Apr 2006 20:46 GMT
Since it looks like a custom tag, attributes.queryname