hellian Posted November 10, 2007 Share Posted November 10, 2007 If I have subreport in subreport, what should I do to set the path? I used SUBREPORT_DIR parameter for path and it works well from iReport. But when I attempt to run it from my project with Java source, the subreport under subreport isn't found whereas all .jasper files are in same location and this location is passed through SUBREPORT_DIR parameter. Could someone help me resolve this? Thanks Rashed Link to comment Share on other sites More sharing options...
Nicolas.Kukolja Posted February 12, 2008 Share Posted February 12, 2008 Hello, I have the same problem. Can anybody help me? Nick Link to comment Share on other sites More sharing options...
sabernethy Posted February 12, 2008 Share Posted February 12, 2008 Assuming you use iReport for report creation... When you view the subreport properties, is your subreport expression something like this: $P{SUBREPORT_DIR} + "myReport_subreport1.jasper" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now