You got to be kidding me:-)
<cfset string="#field1#,#field2#,#field3#,#field4#">
wrap this in a cfloop with the query and then use the cffile to append the
line to the file, piece of cake :-)
regards
Andrew Scott
ANZ eCommerce Centre
* Ph 9273 0693
* [EMAIL PROTECTED]
-----Original Message-----
From: Marc Garrett [mailto:[EMAIL PROTECTED]]
Sent: 14 September 2000 09:02
To: [EMAIL PROTECTED]
Subject: Exporting CSV file from table
I'd like to allow users to export portions of a database to a csv file.
Ideally, they could export the portion matching a search query. Here's what
I have in mind if it were ASP:
http://www.asptoday.com/articles/19991103.htm
Could someone direct me to something similar in ColdFusion?
Thanks in advance for any assistance.
Marc Garrett
----------------------------------------------------------------------------
--
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.