AutoFormatExpr Property

Sets a C/AL expression that specifies how to format data.

Applies To

Fields (or columns) of the decimal data type in the following objects:

  • Tables

  • Pages

  • Reports


The C/AL expression is evaluated when the expression performs updates. Together with the AutoFormatType Property, this property determines how data is formatted. These two properties are only used to format decimal data types, such as amounts that can be stated in a foreign currency or ratios.

For more information, see Formatting the Data in a Field.

See Also

AutoFormatType Property
DecimalPlaces Property