FORMLIST |
![]() ![]() ![]() |
The FORMLIST statement creates a select list from a dynamic array.
Format
FORMLIST dyn.array {TO list.no}
where
Any existing select list list.no is cleared and a new list is created from the elements of dyn.array. This list may be separated by field marks, item marks or a mixture of both.
Example
READ LIST FROM ACCOUNTS, "OVERDUE" THEN FORMLIST LIST
This program fragment reads a list from record OVERDUE of file ACCOUNTS and creates select list zero from the elements of this list. |