Jump to content
We've recently updated our Privacy Statement, available here ×

No query results == No report


Recommended Posts

By: Adam Silverthorne - doog2112

No query results == No report

2003-06-17 18:23

 

I'm generating a report, sticking the HTML in a string buffer and then outputting to a JSP page. If there are no results returned from my query, I get no HTML. If it finds a single record, then the report renders.

 

Is there a way to make jasper render even if it gets no results?

 

 

 

 

By: Teodor Danciu - teodord

RE: No query results == No report

2003-06-18 01:26

 

Hi,

 

Use whenNoDataType="AllSectionsNoDetail" in your

report template.

 

I hope this helps.

Teodor

 

 

 

 

 

By: Adam Silverthorne - doog2112

RE: No query results == No report

2003-06-18 09:58

 

Thanks Teodor,

 

Is there a way to conditionally show some text if the query returns no data? For example

 

No Items Found

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