Jump to content

parameter with multiple units


silvi

Recommended Posts

Hello all,

I  need to create a parameter  for my report  to which I can give  value either in days(1, 2, 3, ...30) or in months (like Jan(01), Feb(02), March(03)) or in years (2011, 2010). This means that I need to set parameter having multiple units so that user will have choice. Can we do it in single parameter,? If yes, then please tell me how? 

Thanks in advance..

 

 

Link to comment
Share on other sites

  • 2 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I've heard that in JasperServer there is a way to do dynamic parameters, but not through iReport? Could be totally wrong on that.....

 

but how I would handle it would be to have 2 parameters, one where they user selects what type of date they're needing (day, month, year) and then the second parameter for the integer of the date they're needing.

 

HTH

 

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