Need more help with page formatting - detail section carrying over onto next page

Posted by: twilson7 on 4 August 2017, 2:50 pm EST

  • Posted 4 August 2017, 2:50 pm EST

    Need help with formatting my detail section.  I am printing a
    detail section that includes 5 data fields and then 5 boxes (using the
    shape object).  This is to be used for a check list type
    report.  I have set the height of all 5 data fields to be equal to
    the height of the box objects (to try and ensure the problem I am
    having wouldn't occur...bad luck i guess)

    The problem I am experiencing is that the last detail section on
    alternating pages does not have enough room to finish drawing the
    borders around the fields and carries onto the top of the following

    What properties should i set to make sure that even if the alternating
    pages contain one less detail line that the entire border gets drawn on
    each page.

    Also I am not using a frame control in this instance but instead using
    regular text boxes with borders set and shape objects with the borders

    I am not adverse to using a frame control (although I've had some
    difficulty getting the output to look exactly how i want), so if that
    is the best way to go then please let me know.  Thanks again in

  • Replied 4 August 2017, 2:50 pm EST

    When you have a section calculated down to the last twip it is generally a good idea to set that section's CanGrow property to False unless you absolutely need it to be able to grow, especially if you have any lines or borders that are near the section's edge. Remember that lines/borders do take up space, something like 15 twips per point.
  • Replied 4 August 2017, 2:50 pm EST

    Thanks for the input.  So what I'm gathering is that I should have
    to calculate the number of times a section might print on a page before
    the print occurs and if it is over a certain number then somehow
    suppress that last print occurance on the current page and push it to
    the next page.  Is this correct?  I set the can grow property
    to false but it did not make a difference.  The size of the fields
    in the detail section are quite large (big boxes for a check list) and
    won't have to contain data that might cause that object to grow.

    This seems a little absurd.  Shouldn't there be some way for
    active reports to do this automatically?  To prevent a section
    from continuing onto a following page if the whole thing won't fit on
    the current page. 

  • Replied 4 August 2017, 2:50 pm EST

    Hmmm...after re-reading your first post with your second post in mind I think I have missed the mark when answering your question. I believe what you are looking for is the KeepTogether property of a section.
  • Replied 4 August 2017, 2:50 pm EST

    Thanks a bunch!  Sorry about not explaining my question
    clearly.  I knew it had to be something as easy as a property
    setting.  I'm still a new user so most of the different properties
    and events are unknown to me.  If I can't find it easily in the
    help or examples I have been posting here.  So far that has been
    the most proven way to resolve my issues.  Thanks again.
  • Replied 4 August 2017, 2:50 pm EST

    Hey finding a solution to the problem in 4 posts is good, there are alot of threads on this forum that have taken signficantly more than that. You are correct is that being unfamilar with something can make it difficult to state the question to find the answer you are looking for, still all the more reason to ask, which is exactly what this forum is for.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels