The DISPLAY ARRAY statement
The DISPLAY ARRAY
statement lets the user view the contents of an
array of records, scrolling through the display.
There are two kind of usage of the
DISPLAY ARRAY
statement:- As a popup list of records, to choose a specific item in the list and use this item in another
record definition. For example, when defining a customer record that contains a city field in the
address, it is common to implement a pick list to let the user select a city from the city SQL
table. This is achieved with a
DISPLAY ARRAY
instruction. - As the main list of records managed by the program, that the user can browse and work with. This main list is typically the first dialog of the program, from where the user can open detail forms to append, modify or delete the records.