NOENTRY attribute

The NOENTRY attribute prevents data entry in the field during an input dialog.

Syntax

NOENTRY

Usage

Use the NOENTRY attribute to bypass field input during an INPUT or INPUT ARRAY statement.

A NOENTRY field is like a field permanently disabled with a DIALOG.setFieldAction("fieldname",FALSE) call, it cannot get the focus.

When compiling a form with a field referencing a SERIAL or BIGSERIAL column in the database schema, the NOENTRY attribute is automatically set. However, the attribute will not be set if the field is defined with a TYPE LIKE syntax.

When using a WITHOUT DEFAULTS dialog option, the content of the corresponding program variable is displayed in the field.

The NOENTRY attribute does not prevent data entry into a field during a CONSTRUCT statement.

Example

EDIT f001 = order.totamount, NOENTRY;