|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home GuiPack RepList Class TReportListView Methods ExportCSV|
|See also: TCSVDelimiters, ExportCSV (RLData), ImportCSV (ReportListView)|
The method ExportCSV writes the contents of the report listview along with optional auxiliary information (headers, etc.) to the CSV file FName. The delimiting character is specfied by the parameter Delimiter.
The parameters IncludeColHeaders and IncludeCommonHeader control whether the column headers and the common header are exported, as well. The parameters FirstCol, FirstRow, LastCol and LastRow specify the range of cells to be exported. Setting both the low and the high column/row parameter of a dimension (i.e. FirstCol and LastCol) to zero values forces the method to export all elements of that dimension.
The method returns the following error codes:
0 ... everything is OK