There are two CSV file formats available: CSV and length‑delimited CSV. In Sage Report Designer, you can change the document settings to control how a length‑delimited CSV file is created.
This article explains the different CSV formats you can use and shows how to change the CSV format options on a document.
When saving a document to file, you can choose from the following two CSV formats:
| CSV document (*.csv) | This output format creates a standard comma‑separated values (CSV) file. Text fields are enclosed in double quotation marks, numeric fields are not quoted, and commas are used to separate each field. No padding is applied to any values. For further information about amending the file format, please refer to the following section. |
|---|---|
| Length-delimited CSV (*.csv) | This option provides a more flexible output format. It allows you to choose characters other than double quotation marks to enclose text and numeric values, select a separator other than a comma, and apply padding to fields if required. For more information on how to change the file format, see the next section. |
| Delimiter | Enter the delimiter to use to separate the fields in the CSV file. |
|---|---|
| Fixed length | To specify whether or not the values are written using their fixed lengths, choose True or False. |
| Include Sections | Select which report sections are exported when saving the report as a CSV file. |
| Numeric Qualifier | Enter the text to appear either side of numeric values in the CSV file. |
| Text Qualifier | Enter the text to appear either side of text values in the CSV file. |
You have now amended the CSV options on your document. These settings take effect when you run your document to file and save as a Length-delimited CSV (*.csv) file.
You have now saved your report as a CSV file.