Case Restriction Property
Description
Specifies the case for text entered in the text item. The allowable values
for this property are as follows:
Value
|
Result
|
MIXED
|
Text appears as typed.
|
UPPER
|
Lower case text converted to upper case as it is typed.
|
LOWER
|
Upper case text converted to lower case as it is typed.
|
Applies to text item
Set Oracle Forms, programmatically
Refer to Built-in
GET_ITEM_PROPERTY
SET_ITEM _PROPERTY
Case Restriction Restrictions
- Values assigned to the text item through triggers are not effected.
- Case Restriction governs the display of all strings, whether they are entered
by an operator or assigned programmatically, because Case Restriction serves
as both an input and output format mask enforced by the user interface.
If you programmatically assign string values that conflict with the setting
for Case Restriction, you will not see the effect in the text item
because its display will be forced to conform to the current setting of Case
Restriction. This also means that if data that violates the Case Restriction
setting is queried into or programmatically assigned to an item, then what
the end user sees on the screen may differ from the internal value of that
text item. For example, if Case Restriction is set to UPPER and the data retrieved
from the data source is in mixed case, the form will display it in UPPER,
but the actual value of the data will remain mixed case. However, If the data
is subsequently modified in that field and the change is committed, the value
of the data will change to upper case.