Home Subreports

How can I start a new page on detail ?

edited March 2005 in Subreports
Hi,
I have a problem like that,

When I try to print a table (variable text size -memo field ) on subreport,
there is variable count of record fit into one page. But when the record is
not fit into a page , a new page create by the report and my data divides
two pages,
one side in first page and other size in second page. But I dont want this,

So when my record is not fit into current page, it must start a new page. I
must protect record integrity on each page.

Thnx,

Comments

  • edited March 2005
    Hi,

    I'm a bit unclear about what you would like to happen. By default
    ReportBuilder will break to a new page if a stretchable component cannot fit
    on a single page. If you do not want this to happen, you can simply set the
    component's Stretch property to False. Perhaps a little more information
    about what is happening will help me understand the issue better.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2005
    Sorry about my description , My problem is like this ,

    --------------------------------------------------------------page 1
    ------------------------------------------------------- detail band .
    my text........................ // record 1 of table (5 lines)
    ....................................
    ....................................
    ....................................
    ....................................
    -------------------------------------------------------
    my text........................ // record 2 of table (3 lines)
    ....................................
    ....................................
    -------------------------------------------------------
    my text........................ // record 2 of table (15 lines)
    ....................................
    ....................................
    ....................................
    ....................................
    ....................................
    ....................................
    ....................................
    ....................................
    ....................................
    .................................... 11 lines fit into page 1 and remain 4
    lines will be print on page 2
    --------------------------------------------------------------page 2
    ....................................// remain lines from record 2 of
    table
    ....................................
    ....................................
    ....................................
    So I want to do this ,
    When the record 2 is not fit into page one , it must not print page 1,
    all lines of record 2 must be print on page 2.



  • edited March 2005
    Hi Kemal,

    Ah, I see... thanks for the better explaination. Try placing your text
    object inside a TppRegion with its KeepTogether property set to True. You
    can turn off the border of the region using the Pen.Style property.

    --
    Best Regards,

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