Page Count in Overflow Leader

Avatar

09-07-2008

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.

Replies

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

11-07-2008

Not sure I follow what you are trying to do.....Can you post an example at livecycle8@gmail.com



Thanks

Avatar

Avatar

_Fisher_Zoe_

Avatar

_Fisher_Zoe_

_Fisher_Zoe_

24-11-2008

Please post a summary of the solution - just so the rest of us have an idea.

Avatar

Avatar

samijapr

Avatar

samijapr

samijapr

31-05-2009

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.