Jump to content
JasperReports Library 7.0 is now available ×

Sub Report contents printed multiple times


2005 IR Help

Recommended Posts

By: subesingh - subesingh1

Sub Report contents printed multiple times

2005-12-26 22:33

Hi,

 

I have called a sup report in main report in detail band.After pasting the sub report tool in

detail band,I have drown a rectangle around the

it.

When subreport is called its contents are printed two times in detail band.

 

First I guess it is due to Parameter "isPrintRepeatedValues=true"

But I have setted it false.It gave the same result and subreport output printed two times with rectangle which is draw around the sub report.

 

Functionality of isPrintRepeatedValues is :

-------------------------------------------

 

This flag allows suppressing the repeating values for the dynamic elements such as text fields and image fields and to fully customize the behavior of the static elements like rectangles, lines, ellipses and static texts.

true

Dynamic elements will print even if their values repeat. Static elements will appear every time the band that contains them is started.

false

Suppresses the repeated values for the dynamic elements. The static elements will print only according to the other 3 attributes: isPrintInFirstWholeBand, isPrintWhenDetailOverflows, printWhenGroupChanges.

DEFAULT true

 

Plz help, it is urgent.

 

Thanks in adavance for help.

 

With Best Regards,

Sube Singh

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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