Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

Sub reports and no main report

edited February 2003 in Subreports
Hi All,

I'd like to create a report with 3 sub reports in the main summary
band and no main detail band. If no data exists for a sub report,
I'll set the visible property to false and, hopefully, print the next
sub report without any blank pages displaying first. Is this
possible?

I had 2 sub reports and then added a 3rd which needs to print before
the other 2. How can I change the order of the sub reports? I've
tried Z-Order and that seems to have no effect.

thanks,
Steve

Comments

  • edited February 2003

    If the subreports each need to start on a separate page, then create a main
    report with no header or footer bands and place the subreports in the detail
    band. Then set subreport.PrintBehavior to pbSection for each subreports.
    Section subreports print in Z-order.

    If you want to use subreports with PrintBehavior of pbChild, then use the
    subreport.ShiftRelativeTo property to establish a relationship with the
    subreport directly above.

    These are very basic, fundamental concepts of RB. I strongly recommend that
    you spend more time up front, learning the fundamentals of RB. Spending time
    learning the fundamentals will enable you to move faster and model reports
    effectively in the long run...

    Below is a list of resources...

    ---------------------------------------------------------------
    Article: Resources for Learning ReportBuilder
    ---------------------------------------------------------------

    1. Learning ReportBuilder is a complete learning system designed to teach
    end users how to build a range of reports, but it is also an excellent
    resource for the developer who is just getting started with RB. Learning RB
    includes a 125-page PDF file, a stand-alone application complete with a
    database, and a help file. The PDF file contains a set of tutorials, which
    can be completed using the provided application. Learning ReportBuilder can
    be downloaded from:

    http://www.digital-metaphors.com/LearnRB/LearnRB.exe


    2. Developer's Guide

    When you install RB, this guide is automatically installed into the
    RBuilder\Developers Guide directory. It contains extensive conceptual
    information and step by step tutorials which show how to construct reports
    and reporting applications within the context of the Delphi IDE.


    3. On-Line Help

    Accessible via a single click of the F1 key from with the Delphi IDE, this
    reference resource explains the classes, methods, properties and events
    which make up the product. It is also an excellent source of information
    regarding installation, troubleshooting and version history.


    4. Examples

    There are a large number of example reports and reporting applications
    included with RB. These show how to accomplish some of the most frequently
    requested types of reports. In total there are probably over 200 different
    examples covering everything from crosstabs to full-blown end-user reporting
    solutions. The RAP functionality included with ReportBuilder Enterprise has
    a separate set of demos, tutorials, and help files.


    5. news.digital-metaphors.com

    The newsgroups are very active with both Digital Metaphors engineers, TeamDM
    members (volunteers specially selected for their knowledge of RB and their
    willingness to help) and RB developers all pitching in to answer questions
    and help each other out. There is also a Tech Tips 'newsgroup' maintained
    by DM Engineers which lists over 100 different articles outlining various
    tips and techniques. Probably the easiest way to connect to the newsgroups
    is to surf the digital metaphors site, go to the support section and click
    the newsgroup of your choice:

    http://digital-metaphors.com/rbuilder/support.html


    6. support@digital-metaphors.com

    When you are working on the really advanced stuff, and need an additional
    point of view, we're always glad to help.



    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.