Creating and destroying composite reports at runtime

You can create and destroy composite reports in a DataWindow object dynamically at runtime using the same technique you use to create and destroy other controls in a DataWindow object.

Creating composite reports To create a composite report, use the New keyword with the Modify method. Supply the appropriate values for the composite report's properties.

When creating a composite report, you need to re-retrieve data to see the report. In a composite report, you can either retrieve data for the whole report or use GetChild to get a reference to the new nested report and retrieve its data directly. For reports nested in other reports, you need to retrieve data for the base report.