Report : IPrxReport;
The Report property returns the regular report that includes the collection of relational data sources.
Sub Main;
Var
MB: IMetabase;
Report : IPrxReport;
TSources : IPrxTableSources;
Key : Integer;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
TSources := Report.TableSources;
Key := TSources.Report.Key;
Debug.WriteLine(Key.ToString);
End Sub Main;
After executing the example the console window displays key of the regular report. Report - identifier of a regular report.
See also: