Jump to content
Changes to the Jaspersoft community edition download ×

problem with footers when rows = 0


isabelpul

Recommended Posts

Hello,

I have a report with footers (to show sums and counts) that I don't want to show when the query returns 0 rows.

I have tried to use the "Print when expresion" option in the band footer with this expression:

 

$V{REPORT_COUNT}.intValue() != 0 ? Boolean.TRUE : Boolean.FALSE

 

But it don't seems to work. I printed the value of $V{REPORT_COUNT} in the footer and this value is 1 (but the recordset is empty). How can it be?

I'm using a connection to PostgreSQL 8.1.4

 

Does anybody know a solution for this?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...