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

Report Header from a different table

2 Answers 320 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
JaiGanesh
Top achievements
Rank 1
JaiGanesh asked on 02 Oct 2013, 11:23 AM
Hi ,

While creating a report, for Purchase order specifically, i want the header part of the report (company particulars) from a different table, how do i link this to a data source created for the company details to the header, when trying to add fields from the DATA EXPLORER to a textbox, it is showing error that the report is linked to another data source( which is my primary data source which has the purchase order no, date etc.,)

Regards,
Jai

2 Answers, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 07 Oct 2013, 07:12 AM
Hi Jai,

Currently only one DataSource per report item is allowed. Although to accomplish your goal you have several options:
  • Use report items that can be databound - you can put your detail content in a Table, Crosstab or List, bound to a property of your primary data source. In this case the contents of your report header will also be properties in the DataSource
  • Add the header content (company particulars) to your primary dataset and use data filtering to split the data you need for the details and for the header.
  • Use SubReport to show your header content - that means you will need another report just to hold a relatively small amount of data. 

I hope that helps.

Regards,
Ivan Hristov
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
JaiGanesh
Top achievements
Rank 1
answered on 22 Oct 2013, 09:23 AM
Hi,

Thanks for the reply. Have solved it by using a list control and binding it to a different data source.

Regards,
Jai
Tags
General Discussions
Asked by
JaiGanesh
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
JaiGanesh
Top achievements
Rank 1
Share this question
or