Try putting <CFSETTING ENABLECFOUTPUTONLY="YES"> in the place I've put it:
Your code:
> <CFHEADER NAME="Content-Disposition" VALUE="inline;
> filename=#dateformat(now(), "yyyymmdd")#_#timeformat(now(), "HHmm")#.csv">
> <CFCONTENT TYPE="application/unknown"><cfoutput>"CONTACT ID","SET
> NAME","SET
> LABEL","DATA"#chr(13)#</cfoutput><CFOUTPUT
> QUERY="get_all">"#contact_id#","#set_name#","#item_label#","#item_
> data#"#chr
> (13)#</CFOUTPUT>
>
My code (put it all into one line):
<CFHEADER NAME="Content-Disposition"
VALUE="inline;filename=#dateformat(now(), "yyyymmdd")#_#timeformat(now(),
"HHmm")#.csv">
<CFCONTENT TYPE="application/unknown"><cfoutput>"CONTACT ID","SET NAME","SET
LABEL","DATA"#chr(13)#</cfoutput><CFSETTING ENABLECFOUTPUTONLY="YES">
<CFOUTPUT QUERY="get_all">"#contact_id#","#set_name#","#item_label#","#item_
data#"#chr(13)#</CFOUTPUT>
I ran this with some of my data, and it worked fine without any extra spaces
(also check there are no extra lines at all by putting it all into one line!
I hope this works!
Paul
------------------------------------------------------------------------------
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.