page break for each new record

Avatar

30-10-2008

I have a table with multiple records. I want to display each new record on a new page. I am using the "after" option under subform tab and specify that "after each record, go to next page".



The problem is after the last record is displayed, it still goes to the new page which creates an empty page. Is there anyway to avoid this?



Thanks,



Connie

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

30-10-2008

What if you change the presence of the last page subform to hidden or simply remove it programmatically of course. I assume that you are simply merging data onto a template and this is the result. You could put that code on the DocReady event and it would run after the form is Ready.



Make sense?

Avatar

30-10-2008

Paul thanks for the response.



Changing the subform to be hidden would not help. Remember, I am using the same subform to display all the records in the table so the first record is on the first page, 2nd record on the 2nd page, etc. Hiding the subform would hide all the data.



I assume there is a way to remove the last page only using formcalc or javascript but I don't know how to write that code. Could you shine some light on that?



Thanks,



Connie

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

30-10-2008

Send your form and data to livecycle8@gmail.com and I will give it a go.

Avatar

18-11-2008

HI ,

I have the same problem as stated above , how to over come that prolem

Avatar

18-11-2008

HI ,

I have same problem as mentioned above , how can i resolve the issue with a blank page.

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

19-11-2008

There is no definative answer ...it will depend on how your form was built. If you send it to livecycle8@gmail.com I will have a look. Include a brief description of the issue. I will not be able to look at it until next week.

Avatar

Avatar
Validate 1
Level 1
lewis4242
Level 1

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
lewis4242
Level 1

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
lewis4242
Level 1

12-06-2010

I have the same issue, I am repeating data and want a new page after each new table so I have set the 'after' value to be 'go to next page' in the pagination tab for the table.

Where does the new page live in the model?  How can I remove it?

Thanks

Lewis

Avatar

Avatar
Validate 1
Level 1
lewis4242
Level 1

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
lewis4242
Level 1

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
lewis4242
Level 1

14-06-2010

I got a solution for this, for me anyway.  Instead of doing 'Go to next page' as the after event on the pagination tab, I setup a conditional break to add a new page with the following javascript condition:

this.index < this.parent._person.count -1

where is the name of the subform to be repeated