Optional SCREEN RECORD size for lists
A SCREEN RECORD definition can omit the number of rows of the
corresponding list container.
Starting with Genero 3.10, a SCREEN RECORD definition can be defined without the size of the corresponding list container
(TABLE, SCROLLGRID, TREE or static field
list).
When specifying the size in
SCREEN RECORD, it must match the exact number of
rows of the corresponding list container, otherwise fglform will throw error
-2029:LAYOUT
GRID
{
<TABLE t1 >
[c1 |c2 ]
[c1 |c2 ]
< >
}
END
END
ATTRIBUTES
c1 = FORMONLY.cust_id;
c2 = FORMONLY.cust_name;
END
INSTRUCTIONS
SCREEN RECORD sr_cust[10](FORMONLY.*);
# Screen record array 'sr' has different component sizes.
# See error number -2029.
END