Predefined actions

There are some predefined actions that are specific to the INPUT ARRAY statement, to handle the insertion and deletion of rows in the screen array automatically.

  • The insert action inserts a new row before current row. When the user has filled this record, the data of the row is copied into the program array.
  • The delete action deletes the current record from the display of the screen array and from the program array, and redraws the screen array so that the deleted record is no longer shown.
  • The append action adds a new row at the end of the record list. When the user has filled this record, the data of the row is copied into the program array.

As with the predefined actions accept and cancel actions, if your form specification does not contain action views for these actions, default action views (buttons on the form) are automatically created. Control attributes of the INPUT ARRAY statement allow you to prevent the creation of these actions and their accompanying buttons.