KCML_View_AddTableColumnToList

Purpose

Add the specified column from the table to the column list

Definition

DEFSUB 'KCML_View_AddTableColumnToList(BYREF ColumnList$, Handle, ColumnName$) AS Integer

Parameters

ColumnListColumn list string, redimensioned appropriately
HandleHandle number of open table
ColumnNameName of column

Return

Ordinal of added column, or 0 if column not found

Description

The ColumnName$ column belonging to the table TableHandle is added to the list of ordinals in ColumnList$. If the TableHandle is not a valid open table then a run-time error will occur.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.