Subreport Order

Is there a way to dynamically control the order of the subreports for a report? I am trying to allow the order of the subreport sections to be controlled by the users based on a configuration table. Each subreport is a single and separate page. But for some companies, they want there information in a specific order. I need to control the order and whether the page is printed for 16 distinct pages.

Customer 1 - Company A
Page 1
:
Page16

Customer 2 - Company B
Page 1
Page 5 //Page 2-4 skipped
Page 16
Page 15
Page 8
Page 9
etc.

Can this be done through the designer or does it require building the report in code?

Comments

  • edited 8:26PM
    Is there a way to dynamically control the order of the subreports for a report? I am trying to allow the order of the subreport sections to be controlled by the users based on a configuration table. Each subreport is a single and separate page. But for some companies, they want there information in a specific order. I need to control the order and whether the page is printed for 16 distinct pages.

    Customer 1 - Company A
    Page 1
    :
    Page16

    Customer 2 - Company B
    Page 1
    Page 5 //Page 2-4 skipped
    Page 16
    Page 15
    Page 8
    Page 9
    etc.

    Can this be done through the designer or does it require building the report in code?

    * What you can do is just make the Detail band (where the subreport is) visible or invisible depending on the user selection

Leave a Comment