Jump to content
Changes to the Jaspersoft community edition download ×

Sum in page header & problem with casting


Recommended Posts

By: Yen Yee Chin - cyy

Sum in page header & problem with casting

2002-11-25 19:56

Hi,

 

i have 2 questions here.

 

1. At the first line of my report Page Header, i have a variable called 'Total Amount' that will display the sum of a field named 'Amount'. In my report Details, i will display all the Amount values. When i view the first page of the report, i get a null value for Total Amount. How do I get the sum of Amount and display it in Total Amount in the Page Header?

 

 

2. How do i cast a double value from the database into a integer?

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