list_group

Returns columns from current row of a list as a group.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

group list_group(src-list[,col1[,col2...])
list             src-list
expr             col

Description

Returns column data from current row of a list as a group.
src-list specifies the list to copy.
col a list of column numbers to be copied. Column numbers can be any expression that evaluates to either an integer or a char string containing space-delimited integers or any combination of these. Columns may be re-ordered or duplicated

Example

Create a new list using a group:
list_mod(ll,1,list_group(l2,0,3,4,8);
List ll will have four columns with one row filled with the column 0, 3, 4 and 8 values from the current list l2 row.