Can we select different subreport based on the condition dynamically on a main report? RRS feed

  • Question

  • On a report there are possible two sub reports. Based on the condition one the sub reports will show up. Its it possible to implement ? Thanks in advance!
    Tuesday, April 24, 2018 6:44 PM


  • Its possible

    You can set an expression for which report you need to render based on your condition

    Just set an expression for the visibility property of the subreport like

    IIF(<required condition>,False,True)

    False will show the report and True will make it hidden

    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

    • Proposed as answer by Ramakrishnan.lh Tuesday, April 24, 2018 7:43 PM
    • Edited by Visakh16MVP Tuesday, April 24, 2018 8:08 PM
    • Marked as answer by zhao790 Wednesday, April 25, 2018 1:02 AM
    Tuesday, April 24, 2018 7:25 PM