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.
| clsAggregationMeasure | clsPartitionMeasure |
| clsCubeMeasure |
String
The access type depends on the measure object's class.
| Class | Access |
|---|---|
| clsCubeMeasure | R/W |
| clsCubeMeasure (virtual) | R |
| clsPartitionMeasure | R |
| clsAggregationMeasure | R |
Use the following code to set the measure object [Sales_Facts].[Quantity] format string:
'Assume an object (dsoCubeMea) of ClassType clsCubeMeasure exists
dsoCubeMea.FormatString = "#,###.##"
| About Decision Support Objects | Using Decision Support Objects |
| Properties Cross-Reference |