Returns a reference to the designer's report object.
object.Report [= value]
The Report property syntax has the following parts:
Part | Description |
---|---|
object | A valid ARDesigner object |
value | An ActiveReport reference. |
IActiveReport
'Add a data control to the designer using the Report object
Dim ctl As DataControl
With ARDesigner.Report.Sections("Detail").Controls
Set ctl = .Add("DDActiveReports2.DataControl")
ctl.Name = "dc"
ctl.Top = 0: ctl.Left = 0
ctl.Tag = ""
End With
This report object is used to gain access to the layout and controls properties. Do not use it to run the report and preview it. Use a separate ActiveReport variable and save the layout to it using the SaveToObject method.