Reputation: 3
Dears,
Can you please help me if there is a way to add another data source to existing report (rpt file) that I have on production environment, but I only have rpt file not the whole solution.
I tried to add new connection and add the fields I want, but multiple datasources warning appear and rpt file will show blank in browser once I opened it. I tried also to add subreport which depend on the new data source and I linked it with the main report but still same issue blank report in production environment.
Any help will be appreciated.
Thanks
Update:
I added new connection, you can see it down
Upvotes: 0
Views: 784
Reputation: 4026
Sounds like you need to replace the data source (old XML file) with a new data source (new XML file). In that case, use the menu option of: Database, Set Datasource Location...
Upvotes: 0
Reputation: 4026
Linking to a second data source in the main report requires that the link is based only on one column and that this shared column has the same data type and size.
If you need a more complex join, then going with a subreport is a good option. Start by creating a new main report that acts as the design of the subreport. If it returns the expected information, insert it as a subreport. That step cannot cause the the main report to go blank. You should then be able to add a link to the subreport and make progress.
Upvotes: 0