IPrxAssemblies.Item

Syntax

Item(Index: Integer): IMetabaseObjectDescriptor;

Parameters

Index: Index of a unit or a form.

Description

The Item property returns description of an object connected to the regular report.

Example

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:

IPrxAssemblies