Hi,
Exporting to CSV-file.
How to set the field separator to semicolon “;” ?
tia
/Poul
Hi,
Exporting to CSV-file.
How to set the field separator to semicolon “;” ?
tia
/Poul
You may customize the ExportCsv class and set the Separator property to ";".
Thanks - just what I needed.
For the record, this in Global Code event did it:
// CSV separator = ";"
class MyExportCsv extends ExportCsv
{
public $Separator = ";";
}
// Replace the default ExportCSV class
Config("EXPORT_CLASSES.csv", "MyExportCsv"); // Note: For tables only.