The reset attribute only controls whether CF destroys the output once
the request has finished or not, so I can't really see that helping.
The problem isn't with the content, but with the construction of the
page. With the format of the output being

<cfcontent>
<cfoutput>

content

</cfoutput>

it would make sense that Excel would take that to mean skip a line,
write a line, skip another line. If it's not adding 2 lines between
each write (one before, one after, one before would mean 2 lines after
the first write) then I can only assume that it's ignoring the line
break afterward for some reason.

But formatting in this situation is CRITICAL because it determines
exactly what Excel sees, and because it's not a really intelligent
formatter (like a browser) it's going to be fairly explicit in what it
does with what you send it.

Laterz,
J

-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://cfobjective.blogspot.com

On Fri, 14 Jan 2005 23:04:43 -0000, Adrian Lynch
<[EMAIL PROTECTED]> wrote:
> Get rid of all the extra space after the cfcontent tag.
> 
> Try:
> 
> <cfcontent type="application/msexcel"><cfoutput query="get
> Data">#Name_First##TAB##Name_Last##TAB##Group_Company#</cfoutput>
> 
> Also, would setting the reset attribute of cfcontent help any?
> 
> Ade

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190558
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to