Assigning a Format Mask to a Display Item
To assign a format mask to a display item:
- In Object Navigator, double-click the object icon beside the desired display
item.
- Under the General node, enter the characters
of the format mask directly in the Format Mask property field.
- Make sure the display item's data type as specified in the Data Type property
(Property Palette Data node) is compatible with
the format mask.
- Make sure the display item's Maximum Length property is set to allow the
text item to store any additional characters that will be embedded by the
format mask.
Note: The setting of NLS parameters will affect the default
formats.
Related topics
About display items
Creating a display item
About formatting display item values with format masks
Display item format mask symbols for NUMBER values
Display item format mask symbols for DATE values
Display item format mask symbols for CHAR values