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);
}



SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/