UPDATEEDITABLE Function (Control, Form)
Dynamically changes the setting of theof a field, form, or control.
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.
In this example, you use this function to set theof a control dynamically, based on, for example, the current value of another field.
IF "On Hold" THEN CurrForm.Address.UPDATEEDITABLE(FALSE);