Jump to content

Problem for empty database record...


2004 IR Help

Recommended Posts

By: ntc2000 - ntc2000

Problem for empty database record...

2005-12-09 03:02

I can successful generate the report in pdf file which query from the datbase....

 

But now i face a problem ....

 

When the database dont have any records....then the report generated will become blank (without title, column header)....

 

I want to generate the report with title together with column header even the detail(query from database) is empty....

 

how can i do that? Got any example code???

 

Thank....

 

 

 

 

By: David Karnowski - karnowski

RE: Problem for empty database record...

2005-12-12 13:49

In your Jasper report source (*.jrxml):

 

<jasperReport

...

whenNoDataType="AllSectionsNoDetail"

...>

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