Data is not showing up in reports

2 posts, 1 answers
  1. Joe
    Joe avatar
    5 posts
    Member since:
    Feb 2008

    Posted 22 Jan 2010 Link to this post

    I'm having some serious trouble with some reports. I can't seem to get the data to connect to the report through the Data Table Adapter. This is my first go at using telerik reporting, and I'm converting a bunch of Crystal Reports to Telerik. Everything was going smoothly most of the reports converted mostly smoothly, and they are running fine. I am now converting some of the ones that invloved sub reports, which I apparently need to create from scratch. No big deal, as they aren't terribly complex.

    However, I seem to be missing something. On the first report, I associated the DataSource to the DataSet, and the DataMemeber to the DataTable, and the DataTableAdapter was automatically generated. However, I apparently missed the magic that made this happen, because I can't seem to duplicate this in later reports. I set the DataSource and DataMember, but the DataTableAdapter never gets created, and when I run the report, no data is found.

    Pictures are attached.
  2. Answer
    Steve avatar
    10941 posts

    Posted 25 Jan 2010 Link to this post

    Hello Joe,

    Unfortunately this happens when using typed datasets that are not created by our report engine as the report wizard cannot find the table adapter only by its name in all cases. This is general problem as a whole and you can observe the same with Crystal, SSRS etc (if you created the dataset manually).
    In short, you should initialize the TableAdapter and fill the data set in the report constructor manually.
    You can also re-create the datasets through our report Report Wizard if you have your database queries at your disposal and it would auto magically recognize the table adapter, initialize it and add the Fill() code in the report constructor for you.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top