CHGFMT |
"Chgfmt" is used to change the format of a mask field.
Chgfmt[ class] [ id_zone]With expr_c
|
Element |
Description |
Restrictions |
|
class |
In the absence of this parameter, the default mask is used. |
class describes an open mask by Mask order. |
|
id_zone |
Identification of a field zone under one of the following forms: |
The field where the name is given must be defined in the corresponding mask. |
|
exp_ind |
Integer expression where the value is the index for the variable |
The index must be in the interval defined by the repetition factor. |
|
expr_c |
Expression of the type Char containing a valid format. |
Format adapted to the expression type |
# Format change for the AMTVAL1 field in the TXM1 screen
# to right justify an amount displayed in an alpha field
Chgfmt[M:TXM1]AMTVAL1 With "K>:18"
"Chgfmt" is used to change the format of a mask field.
|
Error |
Description |
|
ERVARI (6) |
Field does not exist in the given mask. |
|
ERCLAS (7) |
Mask not declared. |
chgtbk - chgtzn - chgtfd - Chgstl - titcol - Format$
|
Copyright © Sage 1999 - 2007 |