I have the following code that is reading a spreadsheet in a file upload. My question is: How do i make COL_3 dynamic so the 3 is the index number of the loop? So something like:
<cfset test = test & variables.file.COL_[j][j]>
but this doesnt work. This is what I have:
<cfset ColQty = #ListLen(variables.file.ColumnList)#>
<cfset test = "">
<cfloop from="1" to="#ColQty#" index="j">
<cfset test = test & variables.file.COL_3[j]>
</cfloop>
Any help appreciated. Thanks JC