Expression: IExpression;
The Expression property returns the expression, by which dimension elements name is formed.
If the property returns an empty value, use the Name attribute as a name of dimension elements.
Executing the example requires a form with the Button1 button on this form, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Eax: IEaxAnalyzer;
Pivot: IPivot;
PivotDim: IPivotDimension;
Naming: IPivotDimNaming;
S: String;
Begin
Eax := UiErAnalyzer1.ErAnalyzer;
Pivot := Eax.Pivot;
PivotDim := Pivot.Dimensions.Item(0);
Naming := PivotDim.Namings.Item(0);
S := Naming.Expression.AsString;
End Sub Button1OnClick;
After executing the example, the "S" variable stores the first expression that determines the first dimension elements name.
See also: