IEaxGrid.Activate8020

Fore Syntax

Activate8020(Value: Boolean);

Fore.NET Syntax

Activate8020(Value: Boolean);

Parameters

Value. The attribute of enablingactivating the 80/20 analysis.

Description

The Activate8020 method enables and disables the 80/20 analysis.

Comments

Available Values of the activation attribute:

Fore Example

Executing this example requires an express report with the EXPRESS_REPORT identifier.

Add links to Metabase and Express system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Grid: IEaxGrid;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("EXPRESS_REPORT").Edit;
    Expr := MObj As IEaxAnalyzer;
    Grid := Expr.Grid;
    Grid.Activate8020(True);
    MObj.Save;
End Sub UserProc;

After executing the example for the first column with the data of the express report the 80/20 analysis is activated. By default the First 80% option is activated.

Fore.NET example

The requirements and result of Fore.NET Example execution are the same as in the Fore Example.

Imports Prognoz.Platform.Interop.Express;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Grid: IEaxGrid;
Begin
    MB := Params.Metabase;
    MObj := MB.ItemById["EXPRESS_REPORT"].Edit();
    Expr := MObj As IEaxAnalyzer;
    Grid := Expr.Grid;
    Grid.Activate8020(True);
    MObj.Save();
End Sub;

See also:

IEaxGrid | 80/20 Analysis