BEAUTIFUL!! It works like a charm.
You all are the BEST! _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gray, Damon Sent: Thursday, November 13, 2008 8:00 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Programmatically Export to CSV Karen & Buddy, thanks to both of you. I'll implement your suggestions and get this to work. _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, November 13, 2008 7:49 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Programmatically Export to CSV Damon: In 6.5++ Windows you can use the Gateway command in program code, but not in DOS. What you can do in windows is something like this: output c:\temp.csv unload data for tablename as ascii output screen The .csv file can then be brought up in Excel. Since Excel expects a double-quote you will have to change your setting if it's a single-quote Karen In 6.5++ is there a means of programmatically exporting a table to a CSV or XLS? I see I can to it through the GUI, but would like to make that part of a sproc.

