IPrxReport.DataSources

Syntax

DataSources: IPrxDataSources;

Description

The DataSources property returns the object that contains all data sources of the regular report.

Example

Sub Main;
Var
    MB: IMetabase;
    Report: IPrxReport;
    DS: IPrxDataSources;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report").Bind As IPrxReport;
    DS := Report.DataSources;
    i := DS.Count;
End Sub Main;

After executing the example the "i" variable contains the number of data sources of the regular report with the Report identifier.

See also:

IPrxReport