Returns the value of the specified column as string.

Syntax

XIH.GetString(colcaption)
XIH.GetString(colcaption, offset)
XIH.GetString(colIndex)
XIH.GetString(colIndex, offset)

Parameters

Parameter

Data type

Description

Sample

colcaption

string

String specifies the columns caption.

"col1"

colIndex

int

Index of a column

1

offset

int

Optionally specifies the row offset. Default is 1

1

Remarks

ColumnIndex is zero-based.

A statement with an offset returns an empty string after reaching the end of the column due to the offset.

Can convert any type.

Returns a string.

Examples

XIH.GetString("Umsatz_String")
XIH.GetString("Umsatz_String", 2)
XIH.GetString(0)

Related