ICubeExecutePredefinedSetup.MultiSelect

Syntax

MultiSelect: Boolean;

Description

The MultiSelect property determines whether several parameters are used simultaneously.

Comments

If the property returns True, one can use several parameters simultaneously. If property is set to False, one can use only one parameter.

Example

Executing the example requires a form, a button with the Button1 identifier on the form, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is used as a data source for TabSheetBox. A working area of the time series database must be loaded to UiErAnalyzer1.

Click the button to execute the example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Eax: IEaxAnalyzer;
    Sels: IDimSelectionSet;
    CubeExSet: ICubeExecuteSetup;
    DimSetup: ICubeExecuteDimSetup;
    PredefinedSetup: ICubeExecutePredefinedSetup;
Begin
    Eax := UiErAnalyzer1.ErAnalyzer;
    Sels := Eax.Pivot.Selection;
    CubeExSet := Sels As ICubeExecuteSetup;
    DimSetup := CubeExSet.FindById("UNITS");
    If DimSetup <> Null Then
        PredefinedSetup := DimSetup.Predefined;
        If PredefinedSetup.MultiSelect Then
            Debug.WriteLine("One can use several parameters simultaneously");
        Else
            Debug.WriteLine("One can use only one parameter");
        End If;
    End If;
End Sub Button1OnClick;

After executing the example information on possibility to use several parameters simultaneously is displayed in the console window.

See also:

ICubeExecutePredefinedSetup