validValuesMsgKey

The validValuesMsgKey property (formerly the rangeMsgKey property) identifies the message that is displayed if the validValues field property is set and the user places out-of-range data into the field.

This property applies only to numeric fields.

Compatibility

Table 1. Support for validValuesMsgKey property
Data item VGUI record Console UI Text Form Java Text Form COBOL Print Form Java Print Form COBOL
Yes Yes* No Yes Yes No No

* The following additional compatibility considerations apply:

Table 2. Compatibility considerations for validValuesMsgKey
Platform Issue
VGUI records, Text UI The value of validValuesMsgKey is a string or literal that matches an entry in the first column of the message table identified in the msgTablePrefix program property. A message table is a data table that contains messages; for more information see "DataTable part." If a numeric key is used with a message table that expects a character key, the number is converted to a character string. If a string literal is used with a message table that expects a numeric key, the value in the string must be a signed or unsigned integer.