Table of Contents

GetColumnValue Procedure

Codeunit File Importer

Gets the Column Value at a given position in the imported file

Overloads

Name Description
GetColumnValue(Integer; Integer): Text Gets the Column Value at a given position in the imported file
GetColumnValue(Integer; Integer; Text): Boolean Gets the Column Value at a given position in the imported file

GetColumnValue(Integer; Integer) Procedure

Gets the Column Value at a given position in the imported file

Signature

GetColumnValue(LineNo: Integer; ColumnNo: Integer) : Text

Parameters

LineNo Integer

The line number that should be read.

ColumnNo Integer

The number of the column that should be read.

Returns

Text

The value of the column as text.

Remarks

If the specified line and column was not found, an error will be thrown.

GetColumnValue(Integer; Integer; Text) Procedure

Gets the Column Value at a given position in the imported file

Signature

GetColumnValue(LineNo: Integer; ColumnNo: Integer; var ColumnValue: Text) : Boolean

Parameters

LineNo Integer

The line number for the value.

ColumnNo Integer

The number of the column at the given LineNo.

var ColumnValue Text

The value of the column as text, if it exists.

Returns

Boolean

This function returns true if a value exists at the given position, otherwise false.

This documentation is generated from Smart Toolbox v27.1