Hi, everyone
I don't know this is wrong or not.
I have a main report (iReport 3.7.6, Win7-32bit) in this directory:c:\main\main.jrxml
and subreport is in:c:\subreport\sub.jrxml
main report refers subreport by configuration of "Subreport Expression" its value is "../subreport/sub.jasper".
i can see preview main report, but error(warning?) occured.
Unable to locate the subreport with expression: "$P{SUBREPORT_DIR} + "sub.jasper"". java.lang.Exception: ../subreport/sub.jrxml not found.
at com.jaspersoft.ireport.designer.utils.Misc.locateFileFromExpression(Misc.java:1373)
at com.jaspersoft.ireport.designer.compiler.IReportCompiler.compileSubreports(IReportCompiler.java:1403)
at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:508)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
please tell me how to delete error message.( i want to use relative path for subreport)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
i have resolved this problem.
according to ireport ultimate guide, we can't use relative path for subreport.
so, it mast set absolute path or set only report name and put subreport into main report directory.
thank you
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 Answer:
In the corporate world, many official documents are sent to the business associates, taxation department, suppliers or client in the form of PDF files. Therefore, the majority of people working in the business offices find it necessary to install PDF conversion enterprise software on their computer systems, so that it helps converting the MS Word and MS Excel, or JEPG files into PDF before attaching them with the email.