Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Page Count in Overflow Leader

Not applicable
I need to put a page counter in the overflow leader for a subform. For example, the first page will say 1. If the data overflows, it says 2, etc. This is not the same thing as the page number of the document.



I've tried putting a floating field in the overflow leader subform using



>this.rawValue = this.rawValue+1



to use it as a kind of counter. This works in Designer in preview mode. However, when I merge xml data with the xdp using Output ES I get varying incorrect answers depending on which event I put the script in.



Is there a better way to do it? I thought using the instanceManager might help, but that only returns one instance regardless of the number of pages, so I don't think that will work either.
3 Replies
pguerett
Level 10
Level 10
Not sure I follow what you are trying to do.....Can you post an example at livecycle8@gmail.com



Thanks
_Fisher_Zoe_
Level 2
Level 2
Please post a summary of the solution - just so the rest of us have an idea.
samijapr
Level 1
Level 1

I have the same issue please post the solution

I want to create multiple documents in one report

each document page number start from 1

Basicly I need to create a counter with a condition.