Shagrat Posted August 10, 2007 Share Posted August 10, 2007 Hi, I'm new to iReport and Jasper reports, so I need your help :P . I have a main report with some subreports, i need something like a global variable in my main report that can be modified in the subreports when they are called (not when the sub-report exits, the return value of the subreport isn't what i need).Does anyone knows if is possible to do something like that? Regards and thanks for your help Marco Link to comment Share on other sites More sharing options...
svenn Posted August 10, 2007 Share Posted August 10, 2007 I did this by creating an external class that extended the JRDefaultScriptlet class. I defined a series of variables with getter and setters and then called them when I needed it. Link to comment Share on other sites More sharing options...
Shagrat Posted August 20, 2007 Author Share Posted August 20, 2007 Sorry for the late answer but I were on holiday. I'll try this solution, thanks a lot! Marco Link to comment Share on other sites More sharing options...
sunianu Posted December 29, 2008 Share Posted December 29, 2008 Hello...Can you explan how you achived this? My requirement is also the same but i dont know how to do this ThanksSuni 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