none
How to selectively hide an item in sub-report RRS feed

  • Question

  • Hi,
    I have a WinForms report that has a sub-report and all except one thing works fine. The report shows all relevant information but the sub-report doesn't. I would like to selectively hide individual sub-report items/rows.

    I've tried using the following statement in the sub-report TableRow1.Visibility Property but that results in showing/hiding the whole sub-report rather than one item/row.
        =IIf(First(Fields!Show.Value, "My_SubReport_Items")=true,false,true)

    I can create a temporary collection with only the valid items/rows
    that sub-report binds to but I was wondering if the same can be achieved without having to do that.

    Any help would be much appreciated.

    /Michael

    Wednesday, March 26, 2008 2:12 AM