Item(Index: Integer): IMetabaseObjectDescriptor;
Index: Index of a unit or a form.
The Item property returns description of an object connected to the regular report.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
Assemb: IPrxAssemblies;
MBDesc: IMetabaseObjectDescriptor;
s: String;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
Assemb := Report.Assemblies;
MBDesc := Assemb.Item(0);
s := MBDesc.Id;
End Sub Main;
After executing the example the "s" variable contains identifier of the first object connected to the regular report. The identifier of the regular report - Report.
See also: