Jump to content
We've recently updated our Privacy Statement, available here ×

Probs in active connection


shanthusharma

Recommended Posts

i have more than one report (.jrxml), each have its own datasource all are CSV files. When i tried to run each file its always takes the default datasource. i want to change the datasource at runtime otherwise it should takes its own datasource at aevery time.

 

thanks in advance

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

These are seperate report correct? Not one report with many subreports?

 

There is no simple way to dynamically change the datasource in iReport. Basically whatever one is selected in the UI is the one that is used to fill the active report on the screen when you press the Execute (with active connection) button.

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