Report : IPrxReport;
The Report property returns the regular report, to which the relational data area belongs.
Sub Main;
Var
MB: IMetabase;
Report : IPrxReport;
TabIs : IPrxTableIslands;
TI : IPrxTableIsland;
Key : Integer;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
TabIs := Report.TableIslands;
TI := TabIs.Item(0);
Key := TI.Report.Key;
Debug.WriteLine(Key.ToString);
End Sub main;
After executing the example the console displays the key of the regular report. Report - identifier of a regular report.
See also: