Count: Integer;
The Count property returns number of data sources of the express report.
Sub Main;
Var
MB: IMetabase;
Expr: IEaxAnalyzer;
ExpDs: IEaxDataSources;
i: Integer;
Begin
MB := MetabaseClass.Active;
Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
ExpDs := Expr.DataSources;
i := ExpDs.Count;
End Sub Main;
After executing the example the i variable contains the number of data sources of the express report. Express report identifier - EXPRESS_REPORT.
See also: