Master and SubReports

Hi All,

I am new to Rs2005. I have 4 seperate reports, r1, r2, r3, r4,.....etc. I want these reports to be called in sequence in a Master report. I want to make all 4 reports 1 big report. Can this be done, and if so can somebody please point me in the correct direction. Many Thanks in advance.

Kenny

 



Answer this question

Master and SubReports

  • Loopsludge

    What exactly are you trying to display, page header in subR to pagehearde in masterR .
  • arashikage

    Hi,

    I have now managed to display my 4 reports within a master report. But i am faced with another problem. Each SubReport has its own page header and page footer. But when i run the master report, the master header and footer is displayed on each page instead of the the subReports header or footer. Is there a way to display each of the subReports header independenlty of the master Header

    Kenny


  • SEMAN

    Is there a way to obtain page header details in a subreport and display these details in a master report Any suggestions please:)
  • Chapio

    All done. Thanks for your help guys
  • hUmAnzZ

    Hi,

    It is possible to have 1 master report that contains multiple sub reports. Although, it is better to have 1 report with all the sub parts in it (so no separate reports) by using multiple datasets. This is easier to maintain and is better for performance.

    Greetz,

    Geert

    Geert Verhoeven
    Consultant @ Ausy Belgium

    My Personal Blog



  • Alle

    Excellent. Great!
  • Vítor

    Spoke too soon. The issues I've come across is related to displaying information in the header.

    I've can't get it to work as I'd like either way (data regions or sub-reports). If I use tables I get blank pages (have all page break settings turned off) unless I lump them all together at the top of the body of the report. This makes them unmanagable.

    If I use sub-reports I'm unable to reference textboxes displayed there in from the header. I've not been able to find the syntax to do this.

    A solution to either of these issues and I should be there.


  • Uwe Reisewitz

    Ok got it . Thanks anyway
  • sofakng

    I will take a look. Many Thanks. Its up and running now, just formatting and sizing now
  • Mohammad hOque

    I'm looking to do exactly the same thing (many reports within a master report).  How did you achieve this

    One way might be to have different tables on the same report and toggle their visibility according to options selected.  Is this the approach that you took

     

     


  • twaltz

    You can put all data regions in one report, but that is no good to me as i need to be able run the master report or a subreport. So I just created a master report and dropped subreports in the body. Let me know how it goes, i am here all day.
  • Alex Yakhnin - MSFT

    Hi,

    I'm not sure if it is a good alternative for your problem but have you checked the document map This gives you some kind of a TOC but on the side of your report.

    Greetz,

    Geert

    Geert Verhoeven
    Consultant @ Ausy Belgium

    My Personal Blog



  • etones

    Many Thanks for you reply but i need to implement the first option as the master report will be my table of contents. Rs doesnt support TOC functionality so i have to work around it, by creating my own custom assembley and writing pageNumDetails to database, then finally calling the master report to extract data back from the database. I am having fun at the moment. Hopefully it will be done very soon.
  • GEORGE ROBINSON

    Works for me too. No issues so far.
  • Master and SubReports