SIMPOL Documentation

dbCSVImport

Description

Type Tags

dbconverter, dbimportconverter

Object Value

Objects of type dbCSVImport have no value, and it is an error to try to get or set this value.

dbCSVImport.new()

Description

Prototype

dbCSVImport.new ( dbCSVImport me, string fieldseparator, string recordseparator, integer fieldnamesrow, integer datastartrow )

Parameters

ParameterDefault valueType nameDescription
meNonedbCSVImport
fieldseparator,string
recordseparator string
fieldnamesrow0integer
datastartrow1integer

Properties

PropertyTypeDescription
bufferstring
bufposinteger
filereffsfileinputstream
impconverterdbimportconverter
opensourcefunction
propsdbCSVConverter
readrecordfunction
recordcountfunction
reopensourcefunction
rowsreadinteger
typetype

Methods

opensource()

Description

Prototype

dbCSVImportvar.opensource ( dbCSVImport me, string filename, string codepage )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVImport
filenameNonestring
codepageNonestring

readrecord()

Description

Prototype

dbCSVImportvar.readrecord ( dbCSVImport me, integer error, boolean rawmode )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVImport
errorNoneinteger
rawmode.falseboolean

recordcount()

Description

Prototype

dbCSVImportvar.recordcount ( dbCSVImport me )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVImport

reopensource()

Description

Prototype

dbCSVImportvar.reopensource ( dbCSVImport me )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVImport