Report: IPrxReport;
The Report property determines the regular report implemented by the IPrxReport interface.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
MB: IMetabase;
Begin
MB := MetabaseClass.Active;
ReportControlPanel1.Report := MB.ItemById("Report").Bind As IPrxReport;
End Sub Button1OnClick;
After executing the example and clicking the button, the regular report with the Report identifier is set as a data source for the ReportControlPanel1 component.
See also: