Try OpenEdge Now
skip to main content
Basic Database Tools
Schema Menu Reference : Modify Table option : String Attributes option
 

String Attributes option

The String Attributes option allows you to control how much space is allocated within an r-code text segment for a string. It is important when you translate a string that you specify enough space for the translated string. String attributes can also specify the text justification within the r-code and whether or not the Translation Manager should translate the string. When you choose String Attributes, the Table String Attributes dialog box shown in the following figure appears.
Figure 25. Table String Attributes dialog box
The Table String Attributes dialog box contains the following fields:
*Label — Specifies the string attribute characters for the table label
*Validation Message — Specifies the string attribute characters for the table validation message
Use the following character and number combinations to enter the string attribute label:
[ R | L | C | T ][ U ][max-length]
See Specifying string attributes for details about the control characters you can enter in the label field.
The following table lists several examples of string attributes.
Table 9. String attribute examples
Example
Meaning
L15
Specifies a width of 15 characters within the r-code text segment and left-justifies the string within the allocated space
15R
Specifies a width of 15 characters within the r-code text segment and right-justifies the string within the allocated space
T20
Specifies a width of 20 characters and trims the leading and trailing spaces within the allocated space
UC20
Specifies a width of 20 characters and centers the string within the allocated space, and also indicates that the Translation Manager should not translate the string
20RU
Specifies a width of 20 characters and right-justifies the string within the allocated space, and also indicates that the Translation Manager should not translate the string
30
Specifies a width of 30 characters
See OpenEdge Development: ABL Reference for more information about string attributes and string translation.