I'm struggling to get ValueList to work on a column name which is a variable:
<cfset varColumnName = "actualColumnName"> <cfdump var="myQuery[varColumnName][1]"> <!--- this line works ---> <cfset myList = valueList(myQuery[varColumnName])> <!--- this line doesn't work ---> I thought the square bracket notation should work here but apparently not. Does anyone know the best way to do this? Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

