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
,
string me
,
string fieldseparator
,
integer recordseparator
,
integer fieldnamesrow
)
datastartrow
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | dbCSVExport | |
fieldseparator | , | string | |
recordseparator | | string | |
fieldnamesrow | 1 | integer | |
datastartrow | 2 | integer |
Properties
Property | Type | Description |
---|---|---|
append | boolean | |
createtable | function | |
expconverter | dbexportconverter | |
export | function | |
fileref | fsfileoutputstream | |
headerwritten | boolean | |
opentarget | function | |
props | dbCSVConverter | |
rowsout | integer | |
type | type | |
writeheader | function | |
writerecord | function |
Methods
createtable()
Description
Prototype
dbCSVExportvar
.createtable
(
dbCSVExport
,
dbconvtable me
)
table
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | dbCSVExport | |
table | None | dbconvtable |
export()
Description
Prototype
dbCSVExportvar
.export
(
dbCSVExport
,
type(dbimportconverter) me
,
integer imp
,
integer error
)
reccount
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | dbCSVExport | |
imp | None | type(dbimportconverter) | |
error | None | integer | |
reccount | .inf | integer |
opentarget()
Description
Prototype
dbCSVExportvar
.opentarget
(
dbCSVExport
,
string me
)
filename
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | dbCSVExport | |
filename | None | string |
writeheader()
Description
Prototype
dbCSVExportvar
.writeheader
(
dbCSVExport
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | dbCSVExport |
writerecord()
Description
Prototype
dbCSVExportvar
.writerecord
(
dbCSVExport
,
dbconvrecord me
)
r
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | dbCSVExport | |
r | None | dbconvrecord |