adry Posted August 31, 2007 Share Posted August 31, 2007 hello , i have a problem in very simple demo with jasperi have report has static text field and subreport ,subreport have aslo a static field .i put the .jasper path of the subreport in the subreport expression , when run the main report , just only the static field in the master report appear only did i miss something ? Link to comment Share on other sites More sharing options...
ramesh_n Posted August 31, 2007 Share Posted August 31, 2007 Hi adry, Write the simple dummy query in Report Query window and compile subreport first and then execute main report it should work. Regards,Ramesh Link to comment Share on other sites More sharing options...
adry Posted September 1, 2007 Author Share Posted September 1, 2007 Hello ,sql query in the subreport ? this mean that i have to provide a sql query to the subreport even if i don't need it ?Post edited by: adry, at: 2007/09/01 07:30 Link to comment Share on other sites More sharing options...
lucianc Posted September 3, 2007 Share Posted September 3, 2007 adry wrote:this mean that i have to provide a sql query to the subreport even if i don't need it ? No, you don't. Read this and this. HTH,Lucian Link to comment Share on other sites More sharing options...
spiderkaOP Posted September 13, 2007 Share Posted September 13, 2007 I'm reading, reading and reading... I also have the case to solve. I can't print my subreport (only with static text field) in my MotherReport. Options in my subreport mentioned in your post are enabled ( whenNoDataType= AllSectionsNoDetail).I want to use Empty Data Source for example - how to do this without writing a query? I have the second question - I want to set to my subreport JRCustomDataSource - what should I put at subreport proerties expect sureportExpression Class and Directory? Thanks in advance. 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