SIMPOL Documentation

dbCSVExport

Description

Type Tags

dbconverter, dbexportconverter

Object Value

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

dbCSVExport.new()

Description

Prototype

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

Parameters

ParameterDefault valueType nameDescription
meNonedbCSVExport
fieldseparator,string
recordseparator string
fieldnamesrow1integer
datastartrow2integer

Properties

PropertyTypeDescription
appendboolean
createtablefunction
expconverterdbexportconverter
exportfunction
filereffsfileoutputstream
headerwrittenboolean
opentargetfunction
propsdbCSVConverter
rowsoutinteger
typetype
writeheaderfunction
writerecordfunction

Methods

createtable()

Description

Prototype

dbCSVExportvar.createtable ( dbCSVExport me, dbconvtable table )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVExport
tableNonedbconvtable

export()

Description

Prototype

dbCSVExportvar.export ( dbCSVExport me, type(dbimportconverter) imp, integer error, integer reccount )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVExport
impNonetype(dbimportconverter)
errorNoneinteger
reccount.infinteger

opentarget()

Description

Prototype

dbCSVExportvar.opentarget ( dbCSVExport me, string filename )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVExport
filenameNonestring

writeheader()

Description

Prototype

dbCSVExportvar.writeheader ( dbCSVExport me )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVExport

writerecord()

Description

Prototype

dbCSVExportvar.writerecord ( dbCSVExport me, dbconvrecord r )

Parameters
ParameterDefault valueType nameDescription
meNonedbCSVExport
rNonedbconvrecord