Printing broken repeating sections

C

chok120

Hi

How can I prevent the printing of broken repeating sections or put another
way how can I ensure only full repeating sections are printed per A4 page...

It look messy having repeating sections spread over 2 pages.
 
C

chok120

Hi
------------------------------------------------------------------
Example 1: Allow users to insert a Page Break when a Checkbox is checked

1. In Design mode, insert a Checkbox Control, type "Insert Page Break"
next to the checkbox.
2. Insert a Section Control (From the Control Task Pane, click on
"Section")
3. Within the Section Control, insert a Page Break (Place the cursor
inside of the Section Control you just inserted and from the menu Insert |
Page Break)
4. Double click on the Section Control to open the Section Properties
dialog. Select the Display tab and click on the Conditional Formatting button.
5. Click Add... to set a new condition, which will keep the Page Break
"hidden" unless the checkbox is checked, to do this: Select the name of the
checkbox in the first condition drop-down and set the condition "is equal to
FALSE". Check the "Hide this Control" checkbox and close all open dialogs by
clicking "Ok"
6. You can test your form by clicking on the Preview Form button, in the
toolbar.

Example 2: Start printing a Repeating Table in a new page once it has more
than 3 rows

1. In Design mode, insert a Section Control (From the Control Task Pane,
click on "Section")
2. Within the Section Control, insert a Page Break (Place the cursor
inside of the Section Control you just inserted and from the menu Insert |
Page Break)
3. Place the mouse cursor beneath the Section Control and insert a
Repeating Table (From the Control Task Pane, click on Repeating Table).
4. Double click on the Section Control to open the Section Properties
dialog. Select the Display tab and click on the Conditional Formatting button.
5. Click Add... to set a new condition, which will keep the Page Break
"hidden" unless the number of rows in the "Repeating Section" exceeds 3, to
do this: Select "The expression" in the first condition drop-down and type
the following XPath expression referring to the Repeating Table,
"count(../my:group2/my:group3) <=3" in the text field next to it. Check the
"Hide this Control" checkbox and close all open dialogs by clicking "Ok"
6. You can test your form by clicking on the Preview Form button, in the
toolbar.
------------------------------------------------------------------------

Thanks for the link provided, the 1st method is a manual one and works ok,
but not for very long forms with 100's of sections in.

The 2nd method will print 1 table per page if the table has more than X
rows, which is not what is needed.

I need to print X number of sections per page, ie with a page break. The
page break section control needs an algorithm to specify when to place it
otherwise hidden. So im guessing i need to mix it with a section count... ie
for every Nth section place make the page break visible.

But my programming skills aren't up to scratch and I can't figure out the
reuired expression

Anybody want a challenge?
 
N

nate

was there ever any solution to this? I am looking for the same thing. I will
keep looking through the posts. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top