milber.ch Posted June 24, 2013 Share Posted June 24, 2013 How set a default value on input control simple selection query? Link to comment Share on other sites More sharing options...
ajinkya_c Posted June 25, 2013 Share Posted June 25, 2013 Hi,Set your default value from parameter default expression in iReport.Regards,Ajinkya Link to comment Share on other sites More sharing options...
harpo Posted November 8, 2013 Share Posted November 8, 2013 I am having the same problem, but all the answers I find suggest setting the default in iReport; this really isn't suitable.I have reports that run queries over multiple database schemata and am trying to parameterise the database usernames. I can do this succesfuly in iReport and set the defaults in there, and indeed the defaults work fine in jasper server. But I want to be able to override these values in jasper server, I can not guarantee the database usernames accross multiple deployments, but once deployed they are clearly unlikely to change.I don't think it is unreasonable to be want to set up a parameter with a default value to be used by a report in jasper server itself, so that the value can be updated by an end user without being prompted for that value everytime the report is run. Surely, there is no real advantage to setting a default value in the jrxml, I'd be as well hard coding the value if it can't be changed without rewriting the jrxml file anyway. Link to comment Share on other sites More sharing options...
simon_tsa Posted December 5, 2013 Share Posted December 5, 2013 I'm in this exact situation now - did you manage to find a way to do it? 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