Previous Topic

Next Topic

LoadFromCSV - Memory Table Method

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

LoadFromCSV method populates a Memory Table from a CSV file.

LoadFromCSV method syntax has these named arguments:

Parameter

Description

File Name

Required. Name of the delimited file to load from.

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, then encoding will be auto detected from the file.

For example:

  MemTable.LoadFromCSV(FileName: String[, HasHeader: Boolean])

See Also

Form Designer Table Methods

Book Contents

Book Index