LIST Command

LIST — Build and manage multi column list boxes.

Synopsis

LIST APPEND store_name VALUE value [value...]

LIST INSERT store_name VALUE value COLNO col_num [ROWNO row_num]

LIST GET store_name VALUE ret_value COLNO col_num [ROWNO row_num]

LIST ROW store_name [ROWNO row_num] { UP | DOWN | TOP | BOTTOM | COPY | DELETE }

LIST COLUMN store_name { APPEND | DELETE } [num_cols]

LIST COLUMN store_name COPY [col_num]

LIST COLUMN store_name COLNO col_num { LEFT | RIGHT | FIRST | LAST }

LIST GETHEADER store_name COLNO col_num [ LABEL ret_value_1 TYPE ret_value_2 SORT ret_value_3 ]

LIST PUTHEADER store_name COLNO col_num [ LABEL col_label TYPE { Text | Number } SORT { Ascending | Descending | None } ]

Introduction

The LIST command builds and manages the data store of multi column list boxes and can link a single data store to multiple MCLB widget views on the screen. As soon as the data changes in the data store, changes will be reflected on the screen.

Arguments

store_name

Any data reference as well as hard coded string holding the name of a data store.

value

Any data reference as well as a hard coded string or numeric value to be placed into the data store.

ret_value

Any data reference that can receive a value from a data store.

num_cols

Any data reference as well as a numeric value holding the number of columns.

col_num

An existing column number.

row_num

An existing row number.

col_label

Any data reference as well as a hard coded string or numeric value to be displayed as a column header.

Example

. . .
. . .
FOREACH dm1
	LET R-Cust = O-dm1
        STORE APPEND "s1" VALUE F-CustID.Cust F-Name.Cust F-Phone.Cust F-Fax.Cust
ENDFOR
. . .
. . .

Related Commands

CLEAR