Data in Header

2 posts, 0 answers
  1. Rudá Cunha
    Rudá Cunha avatar
    58 posts
    Member since:
    Mar 2010

    Posted 30 Jul 2019 Link to this post

    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?
  2. Ivan Hristov
    Ivan Hristov avatar
    236 posts

    Posted 02 Aug 2019 Link to this post


    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.

    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
Back to Top