Chgfmt

Chgfmt changes the format of a field in a screen mask.

This function is only usable in Classic pages related code and is deprecated for code running in version 7 mode.

Syntax

 Chgfmt [CLASS] FIELD With FORMAT

Examples

# Format change for the AMTVAL1 field in the TXM1 screen# to right justify an amount displayed in an alpha fieldChgfmt [M:TXM1]AMTVAL1 With "K>:18"

Description

Chgfmt is used to change the current format of a field in a mask. The possible formats are described in format$ function.

See also

format$, Chgstl, Chgtbk, Chgtfd, Chgtzn.