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

Data in Header

1 Answer 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rudá Cunha
Top achievements
Rank 2
Rudá Cunha asked on 31 Jul 2019, 01:35 AM
In my report I have two datasource.  In this case the first is the data (detail) and the second is another query that brings a single line that I need to show in the header.  Is there any way to make a textbox display this information?

1 Answer, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 02 Aug 2019, 10:25 AM
Hi,

Each data item can have only one datasource. This applies to the Report item as well, so it is not possible to connect the second data source to the textbox. Since the textbox shows only one value, consider passing it through Report Parameter, which can be initialized prior to report processing using a simple SQLCommand. Another option is to use a separate data item, for example List, which will use the second data source and display the single row.

Hope this helps.

Regards,
Ivan Hristov
Progress Telerik
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
Rudá Cunha
Top achievements
Rank 2
Answers by
Ivan Hristov
Telerik team
Share this question
or