Button value¶
checked_value = “text”
unchecked_value = “text”
These clauses are only valid when used with a checkbox or radio button with a linked field attached at button level, not at group level. They are used to specify the value to be assigned to the linked field when the button is checked or unchecked. The display command uses these values when referring to the field to determine whether the button is checked on unchecked.
The default unchecked value is zero, and the default checked value non-zero.
The value must be specified as a text string. If the linked field is numeric, the value is converted at run time.
EXAMPLES
Alphanumeric linked field:
checked_value = "Y" unchecked_value = "N"
Numeric linked field:
checked_value = "3" unchecked_value = "0"
RELATED TOPICS |