locked
rdlc - Issue with Subreport RRS feed

  • Question

  • HI,

    I have a tabular report(RDLC). When there are no records in the datasource, then only column headers are displayed. The tabular report is used as a subreport in a master report. Now when there are no records for the subreport, then atleast the column headers should be displayed. However, the subreport is rendering a blank page. Is there a fix to this issue such that when there are no records for the subreport then the column headers should be displayed.


    -- Praveen


    Tuesday, May 3, 2011 4:38 PM

Answers

  • you could force a row of nulls with an extra column for "no data" and set this to 1.  Use this in your tabular report so the headers show up and you'll have something always appearing for the subreport to work.
    • Proposed as answer by Eileen Zhao Friday, May 6, 2011 2:44 PM
    • Unproposed as answer by Eileen Zhao Friday, May 6, 2011 2:46 PM
    • Proposed as answer by Eileen Zhao Sunday, May 8, 2011 12:30 PM
    • Marked as answer by Eileen Zhao Monday, May 9, 2011 1:38 AM
    Tuesday, May 3, 2011 8:31 PM