anthonyraj Posted September 1, 2009 Share Posted September 1, 2009 Hi,How do I get the total number of rows returned from Oracle to be displayed in Jasper reports?Scenario:I have a SELECT query which returns 10 rows of data.How do I get this count (i.e. 10) to be displayed in my report. Link to comment Share on other sites More sharing options...
jayashreep Posted June 18, 2012 Share Posted June 18, 2012 I also need this row count in my report.Do you got any solution or not? Link to comment Share on other sites More sharing options...
federico.cattozzi Posted June 18, 2012 Share Posted June 18, 2012 Use REPORT_COUNT built-in variable into a textField with attribute evaluationTime="Report".You can use REPORT_MAX_COUNT parameter to limit the number of rows fetched.I also use a textField with following expression:Code:$V{REPORT_COUNT}.intValue() == $P{REPORT_MAX_COUNT}.intValue() ? "Not all data could be fetched" : null 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