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
BedrockMission!

Learn More

View all

Sign in to view all badges

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
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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
Level 2
_Fisher_Zoe_
Level 2

Likes

0 likes

Total Posts

30 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
_Fisher_Zoe_
Level 2

Likes

0 likes

Total Posts

30 posts

Correct Reply

0 solutions
View profile
_Fisher_Zoe_
Level 2

24-11-2008

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

Avatar

Avatar
Level 1
samijapr
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
samijapr
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
samijapr
Level 1

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.