Progress
Version 9
Product Update Bulletin
INPUT-VALUE Attribute
Used for data-representation widgets, such as field-level widgets that represent variables or database fields. The value for the INPUT-VALUE attribute is the unformatted SCREEN-VALUE of a widget.
For any widget that has a SCREEN-VALUE, INPUT-VALUE returns the unformatted value of the widget’s SCREEN-VALUE, in the native data type of the widget.
Data Type: Same as the field or variable associated with the widgetAccess: ReadableApplies To: Browse-cell, Combo-box, Editor, Fill-in, Literal, Radio-set, Selection-list, Slider, Text, Toggle-boxThe INPUT-VALUE attribute has the following syntax:
SYNTAX
NOTES
- When you use the INPUT-VALUE attribute, there are no formatting characters and the data type is the data type of the associated field. The relationship between a field’s INPUT-VALUE and the value in the record buffer is the same as the relationship between the SCREEN-VALUE and the record buffer. For example, changing the record buffer does not affect the INPUT-VALUE.
- When you use the DISPLAY, PUT, or MESSAGE statements for the INPUT-VALUE of a widget that has the DATE data type, you see the formatted value because these statements automatically format DATE values. To display an unformatted date, first assign INPUT-VALUE to an INT variable, and then display the variable.
SEE ALSO
SCREEN-VALUE Attribute in the Progress Language Reference .
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |