Reads the layout from a report object into designer control.
object.LoadFromObject(Report As IActiveReport)
The LoadFromObject method syntax has the following parts:
Part | Description |
---|---|
object | An expression evaluating to an object of type ARDesigner. |
Report | IActiveReport |
'Load a report layout file into an activereport instance
'then load it into the designer control.
'Alternatively, you can use the Load method of the deisgner's Report property
Dim rpt As ActiveReport
Set rpt = New ActiveReport
rpt.Load App.Path & "\test.rpx"
ARDesigner1.LoadFromObject(rpt)