I have a program - very simple to query a db and geta  result set and save to a 
CSV verything seemend to work OK initially but when I run the program now I 
keep getting a message cannot download the .cfm file.

Here is the code.

<cfquery name="getUsers" datasource="#request.AppDS#">
SELECT * 
FROM Users
order by lastname
</cfquery>

<!--- Now output as simple comma-separated text --->
<!--- Put the column names on first line, then --->
<!--- the actual data rows on their own lines --->

<cfheader name="Content-Disposition" value="Attachment; filename=scusers3.txt">

<cfcontent type="text/plain">"Title","FirstName","LastName","Email"<br /><br />
<cfoutput query="getUsers">"#Title#","#FirstName#","#LastName#","#Email#"<br 
/></cfoutput>


THanks in advance for any feedback.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314890
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to