Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Since:

...

Info
titleAvailability

This routine is available starting with

  1. databasecf 2.1
  2. SIL Engine™ 2.0.3

...

Syntax

...

getColumn(tableField, columnIndex)

Description

...

Excerpt

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

Parameters

...

Parameter nameTypeRequiredDescription
tableFieldarrayYes
The
Value of the data table custom field
value.
columnIndexnumberYes
The index
Index of the column to be retrieved
.

Return Type

...

string[]

Example

...

Image RemovedImage Added

Code Block
string[] fullNames = getColumn(customfield_10001, 12);

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

See also