The INSTRUCTIONS section is used to define screen arrays, non-default screen records and global form properties.
INSTRUCTIONS
{ screen-record-definition [;...] }
[ DELIMITERS AB [;] ]
[ DEFAULT SAMPLE = "string" ]
[END]
The INSTRUCTIONS section is optional in a form definition.
The END keyword is optional.
This section is mainly used to define screen records, to group fields using tables, tree views, scrollgrids or traditional static field arrays.
A screen record is a named group of form fields.
See Screen records for more details.
Use the DELIMITER keyword to specify the characters to be displayed as field delimiters on the screen.
This option is especially used for TUI mode applications.
DEFAULT SAMPLE = "MMM"See SAMPLE attribute for more details.
SCHEMA stores
LAYOUT
GRID
{
...
}
END
TABLES
stock, items
END
ATTRIBUTES
...
END
INSTRUCTIONS
SCREEN RECORD s_items[10]
( stock.*,
items.quantity,
FORMONLY.total_price )
DELIMITERS "[]"
END