How to set export to CSV field seperator to ";"?

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 ";".

See Customizing Export (v2021).

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.