Initial Value
Value that should be displayed in this field at runtime; can be a default for the user or the actual field value.
Description
The initial value is for display purposes only. When it is displayed in a new occurrence, it does not affect the modification status of the occurrence.
Defining an initial value is ideal for control fields. For example, you can load the text for a button instead of writing ProcScript in the exec operation.
Interpretation of % in Initial Value
The following table provides examples of how Uniface interprets the percent sign in a field's Initial Value property, as well as in labels that are associated with fields:
Label |
Display |
Comments |
---|---|---|
a%b |
ab |
The access key is b. |
a%%b |
a%b |
No access key defined. Entering a pair of percent signs causes Uniface to display a single percent sign. |
%a%b |
ab |
The access key is a. The character following the first percent sign is always interpreted as the access key. |
ab% |
ab |
The percent sign is ignored and no access key is defined. |