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

keep regions together

edited June 2002 in General
I have 3 regions on the detailband. Each has some labels and date fields.
How can I keep all regions together printing on the same page? Region2 is
directly below Region1 and Region3 is directly below Region2. All 3 regions
have parentwidth=true.

Thanks

Comments

  • edited June 2002
    Chris,
    what do you mean?
    is region 1 overwriting region2?
    if that is the case then you should play with ShiftRelativeTo
    cu
    marc

  • edited June 2002
    You can put all three regions into a subreport and enable KeepTogether on
    the subreport. You can also create a custom group which breaks on every
    detail and set the group to keep together. However, is there a reason that
    the content is broken up among three separate regions? The concept of the
    region is to keep content together. Is there a reason you can't simply place
    everything in a single region?

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited June 2002
    I set up 3 regions so that users can select which region(s) to print.
    My report is a customer listing.
    I have the company address, city, state, zip on region1, contact, phone #,
    fax #, sls, terms ..... on region2 and account balance, last sale .... on
    region3 but I do not want the regions to print on separate page for the same
    customer.

    Thanks


    "Alexander Kramnik (Digital Metaphors)" wrote
  • edited June 2002
    Ok. In that case try the methods I mentioned. Either one should let you
    accomplish what you are trying to do.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited June 2002
    I created a subreport but when I tried, the report printed out 6 pages with
    6 records on each page. What do I do ?

    thanks

    "Alexander Kramnik (Digital Metaphors)" wrote
  • edited June 2002
    Make sure you are not hooking up a pipeline to the subreport. That is,
    you're not strictly using the subreport for it's intended purpose and it
    will not be traversing any data. We're just using the subreport as a
    placeholder to keep data together. Just drop a subreport in the detail band,
    make sure it is set to Child and that it says 'No Data Pipeline Assigne'.
    Then just place the three regions into the subreport. Lastly enable
    KeepTogether on the subreport.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.