Default actions in INPUT ARRAY
When an INPUT ARRAY
instruction executes, the runtime system creates a set of
default actions.
Field validation occurs and different INPUT ARRAY
control blocks are executed
based on the invoked default action.
This table lists the default actions created for this dialog:
Default action | Description |
---|---|
accept |
Validates the Creation can be avoided with |
cancel |
Cancels the Creation can be avoided with |
close |
By default, cancels the Default action view is hidden. See Implementing the close action. |
insert |
Inserts a new row before current row. Creation can be avoided with |
append |
Appends a new row at the end of the list. Creation can be avoided with |
delete |
Deletes the current row. Creation can be avoided with |
help |
Shows the help topic defined by the Only created when a |
nextrow |
Moves to the next row in a list displayed in one row of fields. See note (1). |
prevrow |
Moves to the previous row in a list displayed in one row of fields. See note (1). |
firstrow |
Moves to the first row in a list displayed in one row of fields. See note (1). |
lastrow |
Moves to the last row in a list displayed in one row of fields. See note (1). |
find |
Opens the fglfind dialog window to let the user enter a search value, and seeks the row matching the value. See note (2). |
findnext |
Seeks the next row matching the value entered during the fglfind dialog. See note (2). |
- The action is only created with a
DISPLAY ARRAY
orINPUT ARRAY
using a screen record bound to a set of form fields in aGRID
container, and this set of fields show only a single row of the list. The action is not created when using a screen array bound to a list container such asTABLE
,TREE
andSCROLLGRID
, or to a set of fields in aGRID
container, that repeat on several lines to show more than one single row. - The action is only created if the context allows built-in find.
INPUT ARRAY arr TO sr.* ATTRIBUTES( INSERT ROW=FALSE, CANCEL=FALSE, ... )
...