planetzone Posted July 15, 2010 Share Posted July 15, 2010 Hi,I have many subreports in the detail band of my main report. Each subreport returns a total value to the main report.These values are stored in variables an the displayed in the same detail band as the subreports.Now I want to calculate the difference between two of my returned subreport values. So I created a new variable which subtracts one subreport variable from the other. But only "null" is displayed when I execute the report.The evaluation time of the displayed total variables is set to "Band" and of the variable to calculate with is set to "Report".The "Reset type" for both variables is set to "None".To eliminate the possibility of an error in my calculation, I tried to just display the value of the total variable in another variable.But this also displayed "Null". Does anyone has a suggestion on what could cause this? Link to comment Share on other sites More sharing options...
shainaztamboli Posted July 29, 2010 Share Posted July 29, 2010 use evaluation time as report Link to comment Share on other sites More sharing options...
planetzone Posted July 29, 2010 Author Share Posted July 29, 2010 I tried almost every combination of evaluation times, but always with the same result. Link to comment Share on other sites More sharing options...
shainaztamboli Posted July 29, 2010 Share Posted July 29, 2010 hi,check this http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=77145it works for me 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