Creating A SubReport

Can you point me in the direction of how to create and populate a SubReport

Why does the footer not display at the bottom of the page


Answer this question

Creating A SubReport

  • kstephan

  • M.Ali.Raza

    Done, give us a shout if you dont get it.
    Allen

  • subsider34

    That still doesn't answer the question. Because how do I set what rdlc the sub report is supposed to use when I am in the report designer

    Thanks


  • LadyAmpherion

    Rajeev

    I looked at the sample code, which was written in C#.  It has a line of code that says

    reportViewer.LocalReport.SubreportProcessing +=
                        new SubreportProcessingEventHandler(DemoSubreportProcessingEventHandler);


    VB.Net does not have a SubreportProcessing property for LocalReport.  Is there a similar example using VB.Net   I am having trouble getting a subreport to work if it has a dataset associated with it.  Thanks.

  • Le Quoc Thanh

    Sorry I have been busy also and have not checked the post's lately. Here is my email jtwomley@gmail.com hope to get the zip from you soon.

    Thanks

  • Marni

    Set the name ReportName property to be the name of your subreport without the extension, e.g. Report1 not Report1.rdlc.

    Note that I have only done this with non-embedded subreports, all my reports are content files that are copied to the output directory (so that minor tweaks can be made without recompilation). It works for those, I think its the same for embedded subreports but dont take my word for it.

    Hope this helps
    Allen

  • Dennis Xue

    I would be happy to, in fact its zipped up and ready, but... to where, your email address isnt on file.
    Sorry about the delay by the way, been doing other things for a few days.
    Allen

  • John Fly

    Allen

    Anyway you can send me a sample project with this I am doing exactly what you are saying and what has been shown in the sample code but I am still having 0 luck.

    Thanks

  • Sumit Chawla

    Here's a sample for subreport: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=13649

    The footer displays at the bottom of the page when you print. In the web browser there is no "bottom of the page", so it shows up immediately below the body.

  • Myrkky

    Allen, please email me the zipped file. My email address is on file. Thanks.
  • Creating A SubReport