tblITableEditor GetColumnIndex

Returns the index of a column.

Syntax

tblITableEditor_handle GetColumnIndex columnname

Application

Tcl Query

Description

Returns the index of a column for a given column name.

Inputs

columnname
Index of the column.

Example

Get the column index (50) from the column name (AX) and save it in a variable:
set t [hw::GetT]
set activetableHandle [hwi GetActiveClientHandle ch$t]
set indexColumnAX [$activetableHandle GetColumnIndex AX]

Errors

Success (0) or an error message is returned.