I can't display variables in browser

0
Hello I have made my report on JasperSoft Studio, in its preliminary look good all the variables, such as this: new Double ($ V {} .doubleValue gt_sched () + $ V {} .doubleValue gt_no_shows ())
 
But in any browser appears as 0.00 value is not correct, please help
 
Adolfo
adolfomariscalh's picture
Joined: Jul 27 2015 - 9:51am
Last seen: 3 weeks 3 days ago

5 Answers:

1

Does the variable appear correctly in Jaspersoft Studio? Are you uploading to JasperReports Server or previewing the report in HTML format in Jaspersoft Studio?

You're probably getting 0.00 because you haven't entered a value in Initial Value.

hozawa's picture
68812
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 7 months ago
0
Yes in jasper studio preview aré ok, I dont use jasper server only studio and is ok With preview in html or Java or any but in the browser no, thanks
adolfomariscalh's picture
Joined: Jul 27 2015 - 9:51am
Last seen: 3 weeks 3 days ago
0

hello hozawa I already got an initial value and I still displays 0.00, which can it be?

I want to sum two fields, and I try it with a variable.

  

adolfomariscalh's picture
Joined: Jul 27 2015 - 9:51am
Last seen: 3 weeks 3 days ago
1

Do you have "show_rate" defined after "sched" and "show" variables in the Outline View? Jaspersoft Studio evaluates variables from top to bottom as is displayed in the Outline View.

hozawa's picture
68812
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 7 months ago
0

The order of arrangement is correct, first "show" then "sched" and bottom "show_rate"

adolfomariscalh's picture
Joined: Jul 27 2015 - 9:51am
Last seen: 3 weeks 3 days ago
Feedback
randomness