Jump to content
Changes to the Jaspersoft community edition download ×

How concatenate String in Variable Expression??


Recommended Posts



I've some problem to concatenate a String!

I have just concatenate a Double fieldand all works. But with String it doesn't works.


I have a DetailHotel band where there is the field $F{SINVOICENUMBER} that appear correctly, in the hoteldetail band when I create the pdf.


Then, I have created a variable "VINV" that has this expression :



and I've put this variable on the Summary band.

When I export the pdf, the value of this variable is always "null". I don't understand why?


In my variable, I have set:

Variable.Class type=String

Reset Type=Report

Calculation type=nothing

Increment Type=None


Where I wrong??

As you'll note seeing the other variables, I've just sum the double value correctly!


I send the Fattura.jrxml, xml data source and the pdf result, in the zip file.


Thanks in advance,


[file name=Fattura-67252e547aaa54e87df130fe25516257.zip size=9475]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/Fattura-67252e547aaa54e87df130fe25516257.zip[/file]

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