PROPERTYFORMATTED (or PF) Keyword

Applies To

Most specifications

Description

Returns the formatted value of a named property in a collection  

Syntax

PROPERTYFORMATTED( propertyName ) or PF( propertyName )

Remarks

This keyword can be used as an alternative to the CACHEPROPERTIES (or P) keyword when working with properties that use input masks. In such cases, this keyword applies the input mask to the value being returned.

If the property is of data type DATE, then the locale settings for the short date format are applied to the resulting value, provided it is a valid date. Otherwise, the value remains unformatted.

If the property data type is numeric, then the locale settings for the decimal point character are applied to the resulting value.

Note:  The digit grouping character is not applied. For that and for default decimal precision adjustments, use a component bound to the same data where those settings are applied, and use COMPONENTFORMATTED (or CF)  instead of this one.
Related topics