Activate8020(Value: Boolean);
Activate8020(Value: Boolean);
Value. The attribute of enablingactivating the 80/20 analysis.
The Activate8020 method enables and disables the 80/20 analysis.
Available Values of the activation attribute:
True. 80/20 analysis is activated.
False. 80/20 analysis is not activated.
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.
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: