locked
show/hide rectangle if no values in subreport RRS feed

  • Question

  • User-1210839387 posted

    using report builder 2.0

    I would like to show/hide rectangle if there are no values returned for the subreport that is contained inside the rectangle.

    how to do this?

    thanks

    MC

    Monday, July 11, 2011 11:03 AM

Answers

  • User1471008070 posted

    Hi,

    You should create the subreport's dataset on the main report, then you can know whether there is value or not on the subreport, you can make use of Count or CountRows function to calculate subreport dataset's records, then you can write the expression to control rectangle's visibility.

    Thanks,
    challen Fu 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 18, 2011 10:54 PM