rshankar Posted September 6, 2006 Share Posted September 6, 2006 Using ireport 1.2.6. Assume i have created a parameter TABLE (has a default value and is promptable) and then when i try to create a groovy text expression parameter, say DYANAMIC such as below, and compile the report with "select f1, f2 from " + P{TABLE}I get an error: net.sf.jasperreports.engine.JRException: Too many groovy classes were generated. Please make sure that you don't use Groovy features such as closures that are not supported by this report compiler. Is this possible or not? thanks, Shankar Link to comment Share on other sites More sharing options...
shiwakant Posted April 7, 2011 Share Posted April 7, 2011 If you see your expression below you will find that $ Sign is missing"select f1, f2 from " +$P{TABLE} I too got similar error below on this. Where P was missing :)$P{SUBREPORT_DIR} + $P{ENT_SUB_REPORT} Link to comment Share on other sites More sharing options...
molay_dutta Posted April 27, 2011 Share Posted April 27, 2011 Hi Shankar, Try this... select f1,f2 from $P!{TAB_NAME} Regards,Molay 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