RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDimensionItem.DimensionType Property

Indicates the use of the dimension item.

Pascal
property DimensionType: TDimFlags;
C++
__property TDimFlags DimensionType;

Read DimensionType to determine whether the dimension item represents a dimension of the multidimensional array maintained by the crosstabulated data store or whether the dimension item represents a summary field that supplies the values to the cells of the multidimensional array. If the dimension item represents a summary, DimensionType also indicates the type of summary. 

Do not set DimensionType if the dimension item represents a field from a query. The value of DimensionType is set automatically to reflect the semantics of the query if the crosstabulated data store that uses the dimension item is bound to a query. If the data store is bound to another type of data set, set DimensionType to a value that indicates the use of the dimension item in the multidimensional array. 

DimensionType can have any of the following values:

Value 
Meaning 
dimDimension  
The dimension item represents a dimension of the multidimensional array.  
dimSum  
The dimension item is a summary that represents the sum of a field value.  
dimCount  
The dimension item is a summary that represents the count of nonblank field values.  
dimAverage  
The dimension item is a summary that represents the average field value.  
dimMin  
The dimension item is a summary that represents the minimum field value. (not currently implemented)  
dimMax  
The dimension item is a summary that represents the maximum field value. (not currently implemented)  
dimGenericAgg  
The dimension item is some other type of summary.  
dimUnknown  
The use of the dimension item is not known. This occurs when the DataSet property of the data store is not based on a query. The value must be changed before the dimension item can be used.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!