TMS FNC Data Grid CSV import problem

Hi,

When using LoadFromCSVData or LoadFromCSVStreamData, if the file has only 2 columns (so only one separator per line), the first column is imported and not the second one...

If we had a semi-column at the end of the row, the two columns are well imported.

Are you using the latest version because we are not able to reproduce the issue here.

Yes, I have always the last release...

Try this !

DataGridCSV.zip (397.4 KB)

It doesn't work if you leave the default delimiter to #0

If you specify ; then it works....

And if you have more than 2 columns, it always works...

#0 is automatically detecting the delimiter and there is where it goes wrong, so you'll have to specify the delimiter.

grdImportCSV.Options.IO.Delimiter := ';';