Jump to content
Changes to the Jaspersoft community edition download ×

How can I know with a report return no rows?


ktrinad

Recommended Posts

By: Igor Bessa Menezes - igorbessa

How can I know with a report return no rows?

2003-05-23 04:57

I have a filter report´s page and I´m generate a pdf with the report´s result. Sometimes, because the filter´s seletion, the report returns no rows, resulting in a blank page. The question is: How can I know whe the report returns no rows?

 

Thanks,

 

 

 

 

By: Giulio Toffoli - gt78

RE: How can I know with a report return no rows?

2003-05-23 06:05

You can control the behavior of your report in case that there is no rows selecting the preferred policy in report properties-> tab "more..."-> combo box "When do data type".

You should choose "PrintAllNoDetails". In this case you don't have a blank page, but a document with no rows.

 

I hope this helps you.

 

Giulio

 

 

 

 

 

By: Igor Bessa Menezes - igorbessa

RE: How can I know with a report return no rows?

2003-05-23 06:42

Thanks Giulio, but i use JasperPrint.getPages()

 

Thanks again and keep on...

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...