francesco334 Posted November 24, 2006 Share Posted November 24, 2006 Hello, 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 :$F{SINVOICENUMBER}.equals($F{INVOICENUMBER}) ? "ciao" : "NO" 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=StringReset Type=ReportCalculation type=nothingIncrement 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,Francesco [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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now