Migrating screen arrays to tables
A TABLE
container in Genero BDL displays using a real table widget,
providing a more robust display and interaction than a screen array, while the
SCROLLGRID
container renders a list of records in separated field cells, providing
a replacement for screen arrays using the OPTIONS="-nolist"
This topic also concerns IBM® Informix® 4GL migration, see the I4GL Migration page for mode details.
By default with Four Js Business Development Suite (BDS), fields of a screen array were rendered
as listviews:
To split such listview into individual field cells, Four Js BDS provided the
OPTIONS="-nolist"
attribute, to be specified for each field of the screen
array:f01 = FORMONLY.cust_fname, OPTIONS="-nolist";
f02 = FORMONLY.cust_lname, OPTIONS="-nolist";
With Genero BDL, consider using a
SCROLLGRID
container, to render a list of records in separated field cells.
The SCROLLGRID
container allows to position field tags on several grid lines, by
repeating the same layout for each row: