Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Objects and Properties > NOCHANGE
|
|
Purpose
|
.NoChange allows you to specify that data cannot be changed for when the screen is in change mode.
|
Syntax
|
ObjectReference.NoChange = Value
|
Operation
|
ObjectReference is the Tag Name of the object
Value is the no change setting (TRUE or 1 = no change, FALSE or 0 = change permitted)
|
Remarks
|
The value of this property can only be set, not retrieved.
If a field is set to no change and the screen is in Change mode, the value in the field cannot be changed and the field is treated as a display field.
These properties must be set in On Function Entry or On Cycle Entry Logic, and before any field processing begins.
It is not possible to change these properties once execution of the cycle that contains the fields has begun. If that is the case, the Property Logic commands will be ignored and a warning message displayed.
|
Example
|
To set the NoChange property for the CustomerName edit box:
CustomerName.NoChange = TRUE
To set the NoChange property for the combo box (tagname = CustomerNumber) using a numeric variable:
#TRUE-VALUE = 1
CustomerNumber.NoChange = #TRUE-VALUE
|
Comment on this topic
Topic ID: 510074