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

Rookie design question

edited February 2006 in General
Hi folks,

I'm new to reporting and ReportBuilder, and could use a push in the right
direction. I have a report that will consist of a number of detail bands,
then a subtotal. Then another bunch of detail bands (same type of data as
the first batch), with a subtotal. Then totals for the two. Finally, a
number of bands of data which are unrelated to the first ones, with totals.

Can someone suggest the basic architectural design for this report? Do I
use subreports, groups, or what to achieve the desired combination?

Using RB 10.0 with Delphi 7.

Thanks a bunch!
Van Swofford
Tybee Jet Corp.

Comments

  • edited February 2006
    Hi Van,

    Welcome to ReportBuilder! I would first suggest working through the
    tutorials given inside the ReportBuilder Developer's Guide located in the
    \RBuilder\Developer's Guide\... directory. These tutorials give you the
    basics on report creation and allow you to see what ReportBuilder is capable
    of. Though it probably will take a few hours to complete them, the time it
    will save you in the long run will make up for it many times over.

    Also, you will want to take a look at the main report demo located inside
    the \RBuilder\Demos\1. Reports\... directory. This application contains
    hundreds of sample reports giving an even better idea what ReportBuilder is
    capable of. Specifically take a look at the subreport examples.

    For your current project, I would recommend creating a main report (with no
    datasource) with two subreports in the detail band. The first subreport
    will be connected to the first dataset and will also need a group. You can
    use the group footers to calculate the sums. The second subreport will be
    connected to the second dataset and print as is.

    Main Report
    DetailBand
    Subreport1
    Title
    GroupHeader
    Detail
    GroupFooter
    Summary
    Subreport2
    Title
    Detail
    Summary

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2006
    "Nico Cizik (Digital Metaphors)" wrote in
This discussion has been closed.