The DataReport object is the programmable object that represents the Data Report designer.
Syntax
DataReport
Remarks
The Data Report generates reports using records from a database. To use it:
Use the DataReport object to programmatically change the appearance and behavior of the Data Report by changing the layout of each Section object.
The Data Report designer also features the ability to export reports using the ExportReport method. This method allows you to specify an ExportFormat object, from the ExportFormats collection, to use as a template for the report.