locked
How can I make the table in the report.rdlc such that at all times it should show minimum 5 rows RRS feed

  • Question

  • User-19205220 posted

    Hi

           In my report1.rdlc I have a table which use to fill with the dataset value. Some times the table in the dataset may have only 1 row some times 5,10 etc.

    How can I make the table in the report.rdlc such that at all times it should show minimum 5 rows ie if the dataset table contains only 1 row the report.rdlc table should contain 1 row with data and rest 4 rows blank

    Monday, December 27, 2010 6:35 AM

Answers

  • User1471008070 posted

    Hi,

    Based on your scenario, I think you could add five table footers, then set their visibility based on some expression. Such as the last footer's visibility expression is =IIF(Count("DatasetName")<=0,true,false), the next one is =IIF(Count("DatasetName")<=1,true,false), then the next one is =IIF(Count("DatasetName")<=2,true,false) and so on.

    Thanks,
    Challen Fu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 28, 2010 8:08 AM

All replies

  • User1471008070 posted

    Hi,

    Based on your scenario, I think you could add five table footers, then set their visibility based on some expression. Such as the last footer's visibility expression is =IIF(Count("DatasetName")<=0,true,false), the next one is =IIF(Count("DatasetName")<=1,true,false), then the next one is =IIF(Count("DatasetName")<=2,true,false) and so on.

    Thanks,
    Challen Fu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 28, 2010 8:08 AM
  • User-465685172 posted

     

    You-Hu Fu

    Hi

    Good One

    Thursday, September 22, 2011 5:39 AM