Before time, I always use ListAppend tag whenever I want to create list value from Database. Today I surf coding of our in-house software, I found they use ValueList tag by accident. When I saw this tag, I don't know how does it work and how to use. After reading, documentation from Adobe then it's incredible.

view plain print about
1<cfquery name="qryUsers" datasource="MyDsn">
2    SELECT NAME FROM tblUsers
3</cfquery>
4
5<cfset = ValueList(qryUser.Name)>