Report: IPrxReport;
The Report property determines a regular report implemented by the IPrxReport interface.
To open access to regular report, set the IUiMetabaseObject.Active property to True.
Add links to the Forms, Metabase, Report system assemblies.
The example is a handler of the OnClick event for the button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
MB: IMetabase;
Begin
// Get repository
MB := MetabaseClass.Active;
// Get regular report
UiReport1.Report := MB.ItemById("REPORT").Edit As IPrxReport;
UiReport1.Active := True;
End Sub Button1OnClick;
After executing the example, clicking the button sets the regular report with the REPORT identifier as data source for the UiReport component that will be displayed in the ReportBox component.
See also: