Somatorio Jasper iReport

Asked

Viewed 795 times

0

Good morning,

I have a problem to add records in the ireport, at the end of my page I put the variable PAGE_COUNT, but it only adds the records of the last page. How to add up the records of all pages?

Ever since I thank

  • PAGE_COUNT would not be to count pages?

  • No, the function that counts pages calls PAGE_NUMBER

  • Searching, I found that PAGE_COUNT is the number of records processed from the beginning of the page. Therefore this variable will always have the number of records of the last page processed.

1 answer

0


To know the total number of records use the $V{REPORT_COUNT} and set the evaluation to "Report". To occur only at the end of the report.

  • Thank you very, very much

Browser other questions tagged

You are not signed in. Login or sign up in order to post.