KISAMGetColumnByNumber

int KISAMGetColumn(KHAND handle, int ColId, InfoCol *pIb)

Parameter Type Purpose
handle KHAND handle of table
ColId int column number, counted from 1
plb InfoCol * address of structure to receive properties of the column.

Gets information about a column in the table open on the handle. Columns are identified by number counting from one. This permits the enumeration of all the columns in a table by iteratively calling this function until an error KE_ENDOFFILE (2) is returned implying no more columns.

See KISAMGetColumn for details of the information available for a column.