EXTEND FORM statement
EXTEND FORM statement extends an existing form.
EXTEND FORM formName
EXTEND FORM statement allows you to extend an existing form with additional form blocks.
The name of the form being extended. Composite ID.
formBlock1 ... formBlockN
name = DATA ISTRING (ItemGroup);
itemGroup = DATA ItemGroup (Item);
EXTEND FORM items
PROPERTIES(i) NEWSESSION DELETE // adding a delete button to the form
OBJECTS g = ItemGroup BEFORE i // adding a product group object to the form before the product
PROPERTIES(g) READONLY name
// if the object was added after the object with products, then filtering would go by the group of products,
// and not by products
FILTERS itemGroup(i) == g