Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • In the parent report, configure a parameter called SUBREPORT_DIR. This parameter is passed to the report from OpenMRS and points to the directory in which the report ZIP archive has been extracted to. Note that the path includes a file separator at the end. E.g.
Code Block
\# : "/usr/local/tomcat/OpenMRS/reports/13/"
\# : "c:\OpenMRS\reports\13\"
  • Add your Subreport to your report and configure the "Subreport Expression" on the "Subreport (Other)" tab of the Subreport properties dialog as follows (his tells your report where to find the Subreport file):
Code Block
\# : $P\{SUBREPORT_DIR\}\+ "subreport-filename.jasper"

...

Troubleshooting

  • Information
    I'm running Windows Vista but iReport 2.0 will not let me save the report file I created.

...