Picture property

Official Content
This documentation is valid for:
To set the desired format to accept and display the value for an attribute or variable.

Description

This property is offered for attributes and variables in order to set their edition format (mask). The following table shows the possible values tan can be entered for the property:

9 Indicate that a digit between 0 and 9 must be entered or shown.
Z Indicate that you want to show blank when is a left zero. The Z must be in uppercase.
. (period) IDE decimal separator representation.
, (comma)   IDE thousand separator representation.
X Represent any character.
! Represent a single character in uppercase.
@!  Indicate that you want the full field to be entered and shown in uppercase.
( )

Indicate negative values are displayed between parenthesis and positive values remain the same. For example, for picture (99.9) value 12 will be displayed as 12 and value -12 as (12).


Notice that the decimal separator (period character) and thousand separators (comma character) characters will be generated according to the Decimal separator property.

Samples

  • For Numeric fields -for example, a Numeric(4) attribute- by default its Picture property value will be ZZZ9. That means that non-significant zeros will not be shown. If you want the zeros to the left of the number to be displayed, you must set the value 9999.
     
  • For Date data type fields:

 

See Also

Picture Properties Group

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.