Jump to content
We've recently updated our Privacy Statement, available here ×

Sum of a Variable


karsten.rusina

Recommended Posts

Hi.

I have following problem with Jasper Reports and I hope that somebody can help me.

I create a Variable in a supreport and give it back to the main. (Detail Section)

Now, the target is that I can create a summery of this Variable for each Page.

My Problem is that the result is "null".

How can I add this Variable with itselfe?

 

I hope that my english is good enough, so everbody can understand my problem.

 

Here is what I had created.

 

Subreport:

$F{Netto0FW}!= null ? $F{Netto0FW} : 0.0

0

 

 

Mainreport:

 

Thats my result.

$V{varSumTZ} + $V{SumNetto0FW}

0.0

 

Result is always "null".

 

I don´t know where is my mistake here and hope that somebody can help me.

 

 

 

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