Topic Options
#39654 - 05/24/12 11:31 PM Overflow Problem & Page order
Karlie Offline
OL Newbie

Registered: 09/05/11
Posts: 19
Loc: New Zealand
Hi,

I'm making up a invoice and statement document for a client and I seem to have a problem with how my pages are printing. this is what im getting, (all in a single document, using XML as data source)

Invoice overflow 1 - Client 1
Statement 1 - Client 1
Invoice - client 1 (blank repeat, may be some other problem)
Statement 1 - client 1 (repeat)

Invoice Overflow 1 - Client 2
Statement 1 - Client 2
Invoice overflow 2 - client 2
Statement 1 - Client 2 (repeat)

what i want is
Invoice overflow 1 - client 1
Statement 1 - client 1

Invoice Overflow 1 - Client 2
Invoice overflow 2 - client 2
Statement 1 - Client 2

Hopefully that makes sense,
thanks

Top
#39659 - 05/25/12 08:25 AM Re: Overflow Problem & Page order [Re: Karlie]
Evelyne Lachance Offline
OL Expert

Registered: 08/03/09
Posts: 928
Loc: Objectif Lune Montreal
Hello Karlie,

When an overflow happens, all other pages in your document (not just the overflow page) is repeated. In order to prevent this, all you need to do is to add a condition on those pages (Statement 1, in this case) that hides them when within an overflow. This condition is:

=not(&current.overflowing)

Just add this in the "Conditions" box of Statement 1.

As for your extra blank page, it seems to me like it's iterating over an empty line, perhaps. This is a little harder to guess, perhaps you can try to put a condition in the "Iteration Condition" box in your overflow setup and see if this resolves it (check if a certain place is empty, if you have any where there is always data).
_________________________
Évelyne Lachance
Technical Writer
Objectif Lune Montreal

Top