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

Changing Datasources conflict


sforgelogin

Recommended Posts

While working on a project I created a report template to be used with two slightly different versions of a database. In the report I used a query like:

 

select a.* from table a

 

this returned all the columns for this table, however I only used a few. In one version of the database there was an extra column that was not in the other version, however iReport does not refresh the xml when switching datasources, and I got an error stating that the column could not be found. I think that only putting the fields used in the actual report or refreshing the xml would be a great idea since this type of scenario seems fairly common.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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