Query by example (CONSTRUCT) / Using query by example |
When an CONSTRUCT instruction executes, the runtime system creates a set of default actions.
According the invoked default action, field validation occurs and different CONSTRUCT control blocks are executed.
This table lists the default actions created for this dialog:
Default action | Description |
---|---|
accept | Validates the CONSTRUCT dialog (validates field criteria) Creation can be avoided with ACCEPT attribute. |
cancel | Cancels the CONSTRUCT dialog (no validation, INT_FLAG is set) Creation can be avoided with CANCEL attribute. |
close | By default, cancels the CONSTRUCT dialog (no validation, INT_FLAG is set) Default action view is hidden. See Implementing the close action. |
help | Shows the help topic defined by the HELP clause. Only created when a HELP clause is defined. |
CONSTRUCT BY NAME cond ON field1 ATTRIBUTES (CANCEL=FALSE) ...