> What I want to do is this: query the db. If there is a record that is > comma-delimited within the field, remove the commas and output each > entry on a separate line.
<cfquery name="qQuery"> ... </cfquery> <cfscript> sString=replace(qQuery.field,",","<br>"); </cfscript> Then print sString. If you want this for every field, then yes, cfloop over qQuery.columnlist. Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists