Jump to content
JasperReports Library 7.0 is now available ×

PageSum incorrect when detail split not allow


2005 IR Help

Recommended Posts

By: ToAl - toal

PageSum incorrect when detail split not allow

2004-09-18 00:26

Hi,

 

Following case:

1,) Detail band is configured as split allowed = false

2.)

in Detail band i'm using a TextField with strech with overflow = true.

3.)

in Column Footer I have a TextField, whitch displays a PageSUM Variable.

4.)

The PageSUM Variable is configured as Double, Calculation Type = Sum,

Reset Type = Page

Expression: a Double Detail Field (like article price)

 

Problem is:

The Details will processed, if my article text has more lines (dynamic)-> text field strech -> detail band strech. If no more space left on the page->the whole detail band will be copied to the next page, due to split allowed is false.

BUT the processed article price will be added to the original PageSUM, not in the page where it's actually displayed.

So the result is an incorrect PageSum.

 

If I turn detail split allowed to true the problem is solved, but I it would be nice not to split my detail bands (and article texts).

 

Thank You,

toal

Link to comment
Share on other sites

  • 11 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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