> When we do a simple CF output, as in:
>
> <cfoutput query="termtype">#termtype#<BR></cfoutput>
> We get what appears to be a simple list:
>
> 30/15 Balloon,15 Year Fixed
You are probably not getting a list, but rather the first record of a one
row query resultset. The queryname being "termtype" and the columnname also
being "termtype".
> Now when we want to loop through the list, as in
> <CFLOOP INDEX="type"
> LIST="#termtype#">
> <cfoutput>#type#<BR></cfoutput>
> </cfloop>
Try:
<CFLOOP INDEX="type"
LIST="#termtype.termtype#">
<cfoutput>#type#<BR></cfoutput>
</cfloop>
-Cameron
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists