quotedValueList

Gets the values of each record returned from an executed query.
CFML does not evaluate the arguments

quotedValueList(column [, delimiter]) → returns string

Argument Reference

column query
Required

Name of an executed query and column. Separate query name
and column name with a period.

delimiter string
Default: ,

Examples
Sample code invoking the quotedValueList function

<cfquery name = "GetCourseList" datasource = "cfdocexamples"> 
 SELECT * 
 FROM CourseList 
 WHERE Dept_ID IN ('#GetDepartments.Dept_ID#') 
 </cfquery> 
 <cfoutput> 
 #quotedValueList(GetCourseList.CorNumber,";")# 
 </cfoutput> 

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub