title: How to create a SubReport in iReport 5.6 integrated with PHPJasperXML
body: <p>I'm trying to create a SubReport in iReport 5.6 integrated with PHPJasperXML, but I'm having some troubles... Can anyone help me ?</p>
  
  <p>How to pass the REPORT_CONNECTION to the SubReport? I put to use the same connection of the Main report, but it didn't work...</p>
  
  <pre><code>Notice (8): Undefined property: PHPJasperXMLSubReport::$gname [APP\Vendor\PHPJasperXML\class\PHPJasperXMLSubReport.inc.php, line 631]
  
  Notice (8): Undefined variable: isPrintRepeatedValues [APP\Vendor\PHPJasperXML\class\PHPJasperXMLSubReport.inc.php, line 650]
  
  Fail to connect database
  </code></pre>