Table of Contents

AddColumn Procedure

Codeunit File Exporter

Writes a value at a given position.

Overloads

Name Description
AddColumn(Integer; Integer; Variant) Writes a value at a given position.
AddColumn(Variant) Writes a value to next column for the current line.

AddColumn(Integer; Integer; Variant) Procedure

Writes a value at a given position.

Signature

AddColumn(LineNo: Integer; ColumnNo: Integer; Value: Variant)

Parameters

LineNo Integer

The 1-based line number where the value should be written.

ColumnNo Integer

The 1-based column number at the given LineNo.

Value Variant

The Value that will be set. Date and Decimal values will be formatted according to the settings in File Settings, all other data types will be formatted as XML.

Remarks

If target of the data is Excel, the value will be formatted according to the settings of the current instance of Excel.

AddColumn(Variant) Procedure

Writes a value to next column for the current line. The value will be formatted according to File Settings set by the Init() procedure.

Signature

AddColumn(Value: Variant)

Parameters

Value Variant

The Value that will be set. Date and Decimal values will be formatted according to the settings in File Settings, all other data types will be formatted as XML.

Remarks

If target of the data is Excel, the value will be formatted according to the settings of the current instance of Excel.

This documentation is generated from Smart Toolbox v27.1