Parameter is not prompting

I have created a multiselect parameter in the iReport tool with an Prompt option checked, when i run through front end (jasper server) is not showing any prompt (blank page). If i remove the multiselect parameter and add a normal data parameter single select then its working fine.

can anybody tell me Whats the mistake in that?

himanshu17sept's picture
Joined: May 24 2017 - 10:18pm
Last seen: 1 year 5 months ago

3 Answers:

Hi,

what is the class of the parameter in iReport? It should be Collections.

How do you refer to the parameter in query?

Joe_123's picture
30
Joined: Jul 25 2017 - 5:43am
Last seen: 5 years 4 months ago

Hi Joe,

Class is java.util.Collection

in query i am handling like below:

($P{Para_Family} IS NOT NULL AND $X{IN, 'All', family_LOV} AND upper(item.item_family) LIKE upper($P{Para_Family}))

 

himanshu17sept's picture
Joined: May 24 2017 - 10:18pm
Last seen: 1 year 5 months ago

Hi himanshu17sept,

have you tried to set the nested type of family_LOV parameter to string?

Joe_123's picture
30
Joined: Jul 25 2017 - 5:43am
Last seen: 5 years 4 months ago
Feedback
randomness