FormatString

The FormatString property of the Measure interface contains the format used to display the measure values. Any valid Microsoft® Visual Basic® style format strings are acceptable.

Applies To
clsAggregationMeasure clsPartitionMeasure
clsCubeMeasure  

Data Type

String

Access

The access type depends on the measure object's class.

Class Access
clsCubeMeasure R/W
clsCubeMeasure (virtual) R
clsPartitionMeasure R
clsAggregationMeasure R

Example

Use the following code to set the measure object [Sales_Facts].[Quantity] format string:

'Assume an object (dsoCubeMea) of ClassType clsCubeMeasure exists

dsoCubeMea.FormatString = "#,###.##"

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.