UPDATEEDITABLE Function (Control, Form)

Microsoft Dynamics Nav 2009

Dynamically changes the setting of the Editable Property of a field, form, or control.




Type: Boolean

Possible values are true and false. If the value is true, the control will be changed to editable. If the value is false, the control will be changed to not editable.

This function is not supported in the RoleTailored client.

This function can only be called from the OnBeforeInput Trigger of the control. The property will only be changed temporarily, that is, for the duration of this form.

In this example, you use this function to set the Editable Property of a control dynamically, based on, for example, the current value of another field.

IF "On Hold" THEN

Community Additions