DC_Array2CSV
Posted: Tue Nov 24, 2015 7:00 am
In _dcfunct.prg around line 6952 of the Array2CSV function it has:
What is the purpose of the added = sign?
When exporting data which contains a "," and then opening using Excel it causes a new column whenever it sees a comma even though the string is enclosed in quotes. When I remove the "=" it works.
I also had to do a strtran and replace any instances of single quotes " with double quotes "".
Code: Select all
cLine += '="' + aData[i,j] + '"'
When exporting data which contains a "," and then opening using Excel it causes a new column whenever it sees a comma even though the string is enclosed in quotes. When I remove the "=" it works.
Code: Select all
cLine += '"' + aData[i,j] + '"'