Jump to content

Single select input control with "All" option


snehalata_d

Recommended Posts

Hello,

 

I want to create a report in JasperServer with input control which has 'All' option.

I have created a report in iReport with two parameters-shipcountry1 and All
The shipcountry parameter is of type String and All parameter is of type Boolean.
My report query is "Select ..from.. where shipcountry=$P{shipcountry1} or $P{All}=1 "
This report is working fine in iReport but after deploying it on JasperServer it is giving empty report when I select 'All' from the single select drop down list.
I don't know how to link this 'All' label in drop down list  to 'All parameter'



Post Edited by snehalata_d at 07/27/2010 03:45
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Hi mespub,

Thanks for your reply.My report is working in iReport using your method.
But it is giving me the same error when I deploy it on JasperServer.(i.e. empty report when 'All' is selected from the drop down).
Please can you give me some hints on how to deploy this report on JasperServer???
I want to use single drop down list with 'All' option in it.

Regards,
Snehalata
 

Link to comment
Share on other sites

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