ExAnalyzer: IEaxAnalyzer;
The ExAnalyzer property selects the express report to be exported.
Sub Main;
Var
MB: IMetabase;
Expr: IEaxAnalyzer;
ExpExspr: IExAnalyzerExporter;
Begin
MB := MetabaseClass.Active;
Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
ExpExspr := New ExAnalyzerExporter.Create;
ExpExspr.ExAnalyzer := Expr;
ExpExspr.ExportToFile("c:\" + Expr.Name + ".XLS", "XLS");
End Sub Main;
After executing the example the express report is exported to XLS format. Express report identifier - EXPRESS_REPORT.
See also: