Re: Exporting to csv or dbf

2007-02-05 Thread Rick Root
I wrote a UDF that does CSV, Excel, and TAB delimited file generation from a query. http://www.opensourcecf.com/1/2006/12/UDF-to-generate-File-Drops-in-CSV-Excel-and-Tab-delimited-formats.cfm http://tinyurl.com/yuz8pu ~|

Re: Exporting to csv or dbf

2007-02-05 Thread David Mineer
Rick, This is exactly the kind of thing I am looking for. But I get an error when it encounters a numeric field: The selected method append was not found. Any ideas? On 2/5/07, Rick Root [EMAIL PROTECTED] wrote: I wrote a UDF that does CSV, Excel, and TAB delimited file generation from a

Re: Exporting to csv or dbf

2007-02-05 Thread Rick Root
I posted a response on the blog... haven't tested it though: try changing lines 106 and 108 to the following: output.append(FIELD.toString()) On 2/5/07, David Mineer [EMAIL PROTECTED] wrote: Rick, This is exactly the kind of thing I am looking for. But I get an error when it encounters a

Re: Exporting to csv or dbf

2007-02-05 Thread David Mineer
I saw that and also posted there. Changing those lines to the following fixed the problem: output.append(toString(FIELD)) On 2/5/07, Rick Root [EMAIL PROTECTED] wrote: I posted a response on the blog... haven't tested it though: try changing lines 106 and 108 to the following:

Re: Exporting to csv or dbf

2007-02-04 Thread Jochem van Dieten
David Mineer wrote: I have an app that uses DTS in MSSQL server to export records to a ..dbf file that is then emailed or made available to our clients. Using DTS has never been ideal for me and now we are moving to a hosted solution with workgroup edition of MSSQL which as I understand it

Re: Exporting to csv or dbf

2007-02-04 Thread Kris Jones
If you're just trying to get a .csv file out, I've often done it using CF, although, in a quick and dirty fashion this works just as well: using query analyzer, write your query and run it. In the results pane, select all, and copy. Open a new excel spreadsheet, and with your cursor positioned in

Exporting to csv or dbf

2007-02-03 Thread David Mineer
I have an app that uses DTS in MSSQL server to export records to a ..dbf file that is then emailed or made available to our clients. Using DTS has never been ideal for me and now we are moving to a hosted solution with workgroup edition of MSSQL which as I understand it doesn't have DTS