IPrxReport.MetabaseObject

Syntax

MetabaseObject: IMetabaseObject;

Description

The MetabaseObject property returns the repository object corresponding to the current regular report.

Example

Sub Main;
Var
    MB: IMetabase;
    Report: IPrxReport;
    MObj: IMetabaseObject;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report").Bind As IPrxReport;
    MObj := Report.MetabaseObject;
    i := MObj.Key;
End Sub Main;

After executing the example the "i" variable contains the key of the object corresponding to the regular report with the Report identifier.

See also:

IPrxReport