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

Keeping Master and Detail together on one page

edited January 2008 in General
Hi,
In my master-detail report I want to start a new page when the
masterrecord including it's details do not fit on the current page.
Can anybody tell me how to do this?

Regards,
Stef

Comments

  • edited January 2008
    Define a Group thhat breaks for each master record and set
    Group.KeepTogether to True

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2008
    I don't want each Master-record on a new page.
    Just when the details of a certain Master-record do not fit on the
    current page, than the Master-record and it's details will break to the
    next page.
  • edited January 2008

    Define a Group that breaks for each master record.

    Set Group.KeepTogether to True and Group.StartNewPage to False.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2008
    This is a multipart message in MIME format
  • edited January 2008

    Please do not post attachments attachments to the newsgroups. Please follow
    the newsgroup guidelines...

    http://www.digital-metaphors.com/support/newsgroups.html

    Attachments can be sent to support@digital-metaphors.com.

    We are not aware of any issues with KeepTogether.

    Check the Help | About box to determine which RB version you are using. If
    you are not using RB 10.07, try updating and retest. You can email your
    serial number and registration details to info@digital-metaphors.com to
    request download info.

    Check that the subreport.PrintBehavior is set to pbChild. By definition a
    pbSection subreport will generate a page break.

    If you would like to create a simple test project that we can compile and
    run here, you can send to support@digital-metaphors.com in zip format.
    Please use standard Delphi components and RB. Use the DBDemos data, or dump
    some of your data out to a TClientDataSet.



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2008
    Sorry for the attachment, didn't know that.
    Thank you very much for your answer, I will get in contact with support.
This discussion has been closed.