Specify string attributes
Print
- Last Updated: December 2, 2024
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
By specifying string attributes, you control how much space is allocated within an r-code text segment for a string.
To specify table string attributes:
-
Choose the String Attributes button.
The Data Dictionary displays the Table String Attributes dialog
box:

-
Specify the attribute characters for the table label
and the table validation message, as follows:
Character Description T Specifies to remove trailing spaces during string display. The Data Dictionary does not physically remove the spaces from the string, but replaces them with null values. The Dictionary does not display null values. R Specifies to right-justify the string. L Specifies to left-justify the string. C Specifies to center the string. U Indicates that the string is non-translatable. max-length Specifies the amount of space allocated for the text segment. You can specify a numberfrom 1 to 999. You can specify the characters in any order but can only use each character once. Also, you cannot use any of the letters in conjunction with each other, except for U. If you do not specify the maximum length, the Dictionary uses the length of the original string.
If you do not specify justification, the Compiler left-justifies the string by default, unless the string is a column label. If the string is a column label for a decimal or integer column or a side label, it is right-justified.
- Choose OK to return to the Add New Table window.