Subject Re: Generating CSV file
From Mustansir A Ghor <mustan31@hotmail.com>
Date Tue, 11 Jun 2024 08:56:48 -0400
Newsgroups dbase.getting-started

Dear Tim

Thank you for your reply. Yes, the idea of file object may be necessary.

The csv file that is generated from usvout.prg is perfect. However when the there is date column then encloses in a single ' (I selected opton no 10, which in my case was not needed). So I will have to use file object to remove them.

Further to that I also observed that it created a blank record at cases where date were found blank although other columns had data in them.

Thank and best Regards
Mustansir


Tim Ward Wrote:

> On 10/06/2024 09:37, Mustansir A Ghor wrote:
> > list off to file ghor.txt
> Hi Mustansir,
>
> Instead of the abouve line use the following for a basic csv with no
> formatting. If you need to process the data you can use the file object
> and loop through the records.
>
> copy to ghor.csv delimited
>
> regards Tim