getColumn

Availability

This routine is available starting with

  1. databasecf 2.1
  2. SIL Engine™ 2.0.3

Syntax

getColumn(tableField, columnIndex)

Description

Retrieves data in the column at the specified index from a data table custom field.

Parameters

Parameter nameTypeRequiredDescription
tableFieldarrayYesValue of the data table custom field
columnIndexnumberYesIndex of the column to be retrieved

Return Type

string[]

Example

string[] fullNames = getColumn(customfield_10001, 2);

For the Developers custom field with the customfield_10001 id, the result returned by the above routine call will be: admin|developer1|developer2|developer3|developer4|developer5.

See also