shanthusharma Posted July 9, 2008 Share Posted July 9, 2008 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 More sharing options...
lshannon Posted July 9, 2008 Share Posted July 9, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now