Key: Integer;
The Key property returns key of the regular report.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
s: String;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
i := Report.Key;
End Sub Main;
After executing the example the "i" variable contains the key of the regular report with the Report identifier.
See also: