You can change the delimiters to whatever you want to, but yeah it defaults
to comma's

#valuelist(queryname.columnName,"||")#
would give you:"[EMAIL PROTECTED]||[EMAIL PROTECTED]||[EMAIL PROTECTED]||etc.

#valuelist(queryname.columnName,",")#  or #valuelist(queryname.columnName)#
would give you:"[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],etc.

#valuelist(queryname.columnName,"/")#
would give you:"[EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]/etc.





----- Original Message -----
From: "PC" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, August 12, 2000 1:54 PM
Subject: ValueList Question ...


> I am a little unsure of the way this function works ... does it result in
a
> comma delimited string purely?
>
> eg., if I alter a column from a query like
>
> <cfset emailto = valuelist(#member.email#)>
>
> Assuming there are say 5 email addresses in this result/email column...
> could I use #emailto# in the "To:" field of a <CFMAIL> email as is?
>
> Would it look like "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], etc.?
>
> TIA
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to