Determines the number of the column with a certain name.

Syntax

XIH.ColumnIndex(colcaption)

Parameters

Parameter

Data type

Description

Sample

colcaption

string

String specifies the columns caption.

"col1"

Remarks

columnIndex is zero-based.

If the name is not found, -1 will be returned.

Available starting from version 5.4.

Returns an integer.

Examples

XIH.ColumnIndex(columnName)

Related