This is a migrated thread and some comments may be shown as answers.

Set connection string for sub-report

2 Answers 12 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 24 Jan 2017, 02:21 PM

Is there a way to set the data source of a report to an Entity Data Source that does NOT point to a specific entity?  I have a report that I am trying to generate but the report requires data from multiple entities, and I would prefer not to have a sub-report of sub-reports, so I was wondering of there was a way to set the data source to multiple entity objects?  If this doesn't make sense or you need any further explanation please let me know.  Any information would be appreciated.

2 Answers, 1 is accepted

Sort by
0
Keith
Top achievements
Rank 1
answered on 24 Jan 2017, 05:17 PM
Never mind I found that if you add tables individually using the toolbox, you can use the table wizard which allows you to specify a specific DataSource.  While this is not ideal as there are some instances where I would have two tables visually together being bound to two separate DataSources.  This allows me to move forward past this issue.
0
Accepted
Katia
Telerik team
answered on 25 Jan 2017, 12:46 PM
Hi Keith,

EntityDataSource component allows you to connect to a single entity data model. If the data comes from multiple entities the approach you can use is the same as described in your last post.

You can use separate data items (Table, Crosstab, List) in the report and connect each of them to a separate data source.

Note that if both a report and its nested data item are bound to the same data source, each will develop its designed template per data record in the data source - Data Binding Problems(Repeating data).


Regards,
Katia
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Keith
Top achievements
Rank 1
Answers by
Keith
Top achievements
Rank 1
Katia
Telerik team
Share this question
or