getColumnValues()

Get column values of a table, tree, or screen record.

Syntax

getColumnValues(
   tableName  STRING,
   columnName STRING )
  RETURNS DYNAMIC ARRAY OF STRING
  1. tableName is the name of a table.
  2. columnName is the name of the column.

Usage

You can use it to return the values of a column of a table, tree, or visible rows of a screen record to test this action in a scenario. For example:

DEFINE items DYNAMIC ARRAY OF STRING
LET items = ggc.getColumnValues("sr_prices", "name")