f_chas01 Posted June 29, 2011 Share Posted June 29, 2011 There is some obvious problem while parsing the sql query.Parsing this query works perfectly:select '01.02.$P!{P_YEAR}' txt from dualBut if the parameter is within some certain bracket constallation it does not work, example:select to_char(last_day(to_date('01.02.$P!{P_YEAR}', 'dd.mm.yyyy')),'DD') txt from dual$P!{} will not be evaluated. You will get the same error message, as if you would writeselect to_char(last_day(to_date('01.02.blablabla', 'dd.mm.yyyy')),'DD') txt from dualThe error is: Code: Post Edited by f_chas01 at 06/29/2011 14:35 Link to comment Share on other sites More sharing options...
f_chas01 Posted July 1, 2011 Author Share Posted July 1, 2011 Did someone encountered the same problem? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted July 4, 2011 Share Posted July 4, 2011 Hi, What version of JR are you using? Thank you,Teodor Link to comment Share on other sites More sharing options...
f_chas01 Posted July 6, 2011 Author Share Posted July 6, 2011 teodordWrote: Hi, What version of JR are you using? Thank you, Teodor I am using the JasperReport Server 4.1 bundle 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