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

Multi page report

edited August 2006 in General
Trying to write a report that has only 2 pages.

Get only on record from the database.

Page 1 has some db data and alot of text and take up the whole page

Page 2 looks total diferent and must be on a new page, it also has some db
data and alot of text.

Cannot get the second page to show... I am using 2 sub reports but no luck.

got any ideas...



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited August 2006
    Hello,

    For future reference we prefer you use your real name when posting to these
    newsgroups.

    Try creating an empty main report with nothing but a detail band. Then
    place two Section style subreports inside the detail band. The first
    subreport will be your first page and the second will be your second. You
    can design and connect them to data independent of each other.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2006
    Thanks - tried it but only shows the second sub reports data.

    I am using Report Builder Ver 7.03 on Delphi 7

    GARTH






    --- posted by geoForum on http://delphi.newswhat.com
  • edited August 2006
    Garth,

    We also prefer you use your real name in the "from" section when sending
    posts. Currently your name is "vader4d", please change this as well.

    You need to be sure your subreports are individually connected to the proper
    datapipeline in order to traverse. While designing a subreport, select the
    Report | Data option from the main menu in the designer and select the
    proper datasource.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2006
    Have done that but no luck... Try to do a sample report with a label in
    each subreport to try and see if I can get the 2 pages .. no luck..

    See if you can get it working..






    --- posted by geoForum on http://delphi.newswhat.com
  • edited August 2006
    Hi Garth,

    Are you sure you have your subreports set to Section style? In my testing I
    created a simple main report with only a detial band and two Section
    subreports inside it. Inside each subreport was a TppLabel component. When
    previewing the report, the first label was on the first page and the second
    label was on the second.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.