Jump to content
Changes to the Jaspersoft community edition download ×

Need to select database attributes dynamically


rohit_chawla36

Recommended Posts

Hi Guys,
I am using ireort designer 5.5.0 for generating jasper reports. I am having requirements where database attributes should be selected dynamically such as database host name, user id, password etc based on the user input say local DB or dev DB. How this can be acheived using ireport designer? Your suggestions are appreciated. 
 
Thanks.
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hello,

out of the box that isn't possible. iReport is merely a report designer tool and it does not feature a datasource that would dynamically generate at runtime based user input. I mean you can create different data sources and pick the ones you want before previewing the report in iR. But it is not JR-engine related logic. You would have to implement your own solution for dynamic datasource selection in your application.

Regards,
Vadim

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