AnsweredAssumed Answered

Jaspersoft parameter definition ?

Question asked by vanfr04 Employee on Jul 17, 2015

Clarity 14.2 with Jaspersoft.

I have a report with 2 parameters, one of type string and one of type number.

These parameters need to come from a selection of a query.

If the result of the query is a string, no problem, define the param as java class string and you'll get the selection into the input control.

However, if the result of the query is number, no way to display the result in the input control. I tried to use different java classes : integer, number, decimal, etc...Nothing works.

So I finally converted the number to a string and used the java class string for the parameter.


Can anyone confirm this behavior?  Or knows how to deal with numbers as a selection result in an input control ?