PICTURE
The PICTURE attribute specifies a character pattern for data entry into a text
field, and prevents entry of values that conflict with the specified pattern.
field-tag is the field tag that you declared in the SCREEN section.
format-string is a string of characters to specify a character pattern for data entry. This
must be enclosed within quotation ( " ) marks.
A format-string can include literals and these three special symbols:
Symbol
| Meaning
|
A
| Any letter
|
#
| Any digit
|
X
| Any character
|
4GL treats any other character in the format string as a literal. The cursor skips over any literals during data entry. 4GL displays the
literal characters in the display field and leaves blanks elsewhere.
Related Attributes