Skip to content

Forceput Field Property

Obsolete

Refer to the Field_Options property in the DataDictionary class.

See Also

Purpose

To put data from an item into the record buffer regardless of whether the item contents were changed since it was originally displayed.

Syntax

set field_options field file.field to dd_forceput

or

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

What It Does

When forceput applies to a field, the contents of the item connected to it are put to the file record buffer when the cursor exits the item, even if no keyboard entry was made to the item. Forceput can be applied as an option on the entry_item statements that address file.field, or it can be applied in a DataDictionary object with the field_options property, where it will apply automatically to all DEOs that are using the DataDictionary.

entry_item purchases.ord_date {forceput}

In this example, the data in the item is put to the field ord_date in the record buffer for Database File purchases, regardless of whether any keyboard entry is made to the item.

Notes

  • Normally, the contents of an entry_item's window are put to the buffer only if its data was changed from what was originally displayed.