jimjohn Posted August 7, 2008 Share Posted August 7, 2008 HiI want to display a static subrepor.Now i have include the subreport and set DataSourceExpression as Dont use connection or data source.I am not getting the subreport displayed.No error is throwingHelp meThanks in advanceJim John Link to comment Share on other sites More sharing options...
oxygen Posted August 13, 2008 Share Posted August 13, 2008 read my post here: http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=44535&res=41 and please see if it works for you. Link to comment Share on other sites More sharing options...
hangman01 Posted August 28, 2008 Share Posted August 28, 2008 I have found that sub-reports even those with static data work better when they include a query even if the output is not used. Such as this one I used in a recent sub-report that was actually a second page to a letter produced as a pdf and downloaded from a website. select xxxxx_idfrom adacbt.xxxxxxxxxxwhere xxxxx_id = $P{ID} The sub-report did not make use of the xxxxx_id but without the query the sub-reports would not appear. 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