Forcing a page break after two sections - InfoPath Dev
in

InfoPath Dev

Forcing a page break after two sections

Last post 05-18-2007 01:51 PM by rmitchell77. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-11-2007 09:20 AM

    Forcing a page break after two sections

    I have a form with repeating sections and I would like to create a print view with two sections per page.  Is there a way to force a page break after every other section?

     

  • 05-16-2007 01:39 AM In reply to

    Re: Forcing a page break after two sections

    Hi rmitchell77,

    To do this, open the data source task pane and right-click and drag the repeating node into the bottom of the repeating section.  When prompted, select a regular section to be inserted.  Within this section place a Page Break (from the Insert menu), and then set the conditional formatting on the section to be to HIDE with the following expression is true:

    count(preceding-sibling::my:group2) mod 2 != 0

    Please note that you will need to update the XPath on my:group2 to match your schema. Hope this helps!

    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 05-18-2007 01:51 PM In reply to

    Re: Forcing a page break after two sections

    Thanks Matt.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.