Skip to content

Noenter Field Property

Obsolete

Refer to the Field Options property in the DataDictionary class.

See Also

Purpose

To prevent data entry to a field and entry items attached to it.

Syntax

set field_options field file.field to dd_noenter

or

entry_item file.field [
    {noenter [, ... , option]}
]

What It Does

When an entry_item with noenter on it is executed, the item is filled with data from file.field, but the cursor does not enter the item, preventing data entry through the item.

entry_item vendor.balance {noenter}

In this example, the contents of Field balance in Database File vendor are displayed, but the cursor does not stop in the item window.

When dd_noenter is applied to a field in a DataDictionary object with the field_options property, this behavior is manifested by every item addressing the field in a DEO that is using the DataDictionary.

Notes

  • The skipfound field property has a similar effect, except that it allows the cursor to go to the item only if no record is found. Noenter skips the item regardless of whether a record is found.

  • The displayonly field property is a combination of noenter and noput.

  • Although data cannot be entered from the keyboard to an item controlled by noenter, data can still be moved to the item. Such data changes will be moved to the record buffer, unlike the displayonly or noput field properties.