Previous Topic

Next Topic

SaveToCSV - Memory Table Method

method SaveToCSV(Filename: String[, HasHeader: Boolean, RecordTerminator: Variant, FileType: Integer])

SaveToCSV method saves a Memory Table to a CSV file.

SaveToCSV method syntax has these named arguments:

Parameter

Description

File Name

Required. Name of the delimited file to save to.

Has Header

Optional. Set to True when the file contains a header line. Defaults to False.

RecordTerminator

Optional. The character to signify the end of the record.

File Type

Optional. Integer.
0 - ANSI
1 - UTF16_LE
2 - UTF16_BE
3 - UTF8
4 - UTF8BOM

If this parameter is not specified, the default type is ANSI.

For example:

  MemTable.SaveToCSV(FileName: String[, HasHeader: Boolean, RecordTerminator: Variant])

See Also

Memory Tables

Book Contents

Book Index