Jump to content
JasperReports Library 7.0 is now available ×

How can I hide a subreport?


Recommended Posts

By: velatro - velatro

How can I hide a subreport?

2006-04-04 00:28

Hi all,

 

I have a problem and I can't find any way to solve it :(

 

My problem is hiding my subreport when it does not have any records.

 

I found a similar question in form;

http://sourceforge.net/forum/message.php?msg_id=2946016

 

Thanks for all.

 

 

 

 

By: tadzius - tadzius

RE: How can I hide a subreport?

2006-04-04 04:34

if the subreport is blank, then maybe selecting checkbox "remove line when blan" chould help?

 

 

 

 

By: velatro - velatro

RE: How can I hide a subreport?

2006-04-04 00:32

Sorry,

 

The link which I gave about similar question was wrong.

 

Similar link;

http://sourceforge.net/forum/message.php?msg_id=3519999

 

Thanks.

 

 

 

 

By: Sanjeev Saha - sanjeevsaha

RE: How can I hide a subreport?

2006-04-04 06:35

Have you tried setting:

 

<jasperReport whenNoDataType="NoPages" /> attribute?

 

hth,

Sanjeev

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