Report : IPrxReport;
The Report property returns the regular report that includes the collection of relational data areas.
Sub Main;
Var
MB: IMetabase;
Report, Rep : IPrxReport;
TabIs : IPrxTableIslands;
Key : Integer;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
TabIs := Report.TableIslands;
Rep := TabIs.Report;
Key := Rep.Key;
Debug.WriteLine(Key.ToString);
End Sub Main;
After executing the example the console window displays value of the regular report key. Report - identifier of the regular report, which sheet contains a relational data area.
See also: