Crystal Reports for Eclipse Developer Guide

To modify a subreport with the SubreportClientDocument class

  1. Call the SubreportController property of ReportClientDocument object to retrieve an instance of SubreportController object.
  2. Get the SubreportClientDocument object using its alias (name).
  3. Modify the properties of the subreport.
Example: 
This sample sets the EnableOnDemand property of the subreport to true.
void ModifySubreportWithController(ReportClientDocument clientDoc)
{
  SubreportController subreportController = clientDoc.getSubreportController();
  ISubreportClientDocument subreportClientDocument = subreportController.getSubreport("subreportName");
  subreportClientDocument.setEnableOnDemand(true);
}



Business Objects, an SAP company
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/
Product Documentation on the Web
http://support.businessobjects.com/documentation/