Was this helpful?
MaxCharacters Attribute
Data Type: integer
4GL Access: RW
The MaxCharacters attribute defines the maximum number of characters that the field can contain.
If set to 0 by the user, OpenROAD sets this attribute to the maximum number of characters allowed by the field's format or data type when you create the field.
A value set to 0 by OpenROAD represents an unlimited field.
The attribute is reset whenever the FormatString attribute is changed.
Trying to set it to a value that exceeds the maximum number of characters allowed by the field's format or data type will automatically set it to this maximum.
By setting the CharsPerLine attribute to the value of the MaxCharacters attribute, you can get an approximate match between the allowable number of characters in the field and the width of the field.
Default: 0
Last modified date: 12/20/2023