Page count incorrect

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
rwarden
Posts: 31
Joined: Tue Oct 10, 2017 12:44 pm

Page count incorrect

Post by rwarden » Wed Jun 24, 2009 8:42 am

Have a report where there are 3 physical pages, but LASTPAGE() returns 2. Version 10.1.003. Ideas?

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Page count incorrect

Post by kfleming » Mon Jun 29, 2009 1:11 pm

Does the report contain a record band line?__Are you also printing a pageno() field on the report?____Kathleen__R&R Support

rwarden
Posts: 31
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Page count incorrect

Post by rwarden » Mon Jun 29, 2009 2:03 pm

>Does the report contain a record band line? __>Are you also printing a pageno() field on the report? __>__>Kathleen __>R&R Support ____Pageno() is being printed on the page - ltrim(rtrim(str(page())))+" of "+ltrim(rtrim(str(lastpage()))). There is no record band line in the report. I inserted one for testing and Lastpage() is now correct. However, I don^t want to print a record band.

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Page count incorrect

Post by kfleming » Tue Jun 30, 2009 8:12 am

Try adding a logical condition that will never be true to the record band (so it exists but never really prints) and see if that helps.____Kathleen__R&R Support

rwarden
Posts: 31
Joined: Tue Oct 10, 2017 12:44 pm

====> RE: Page count incorrect

Post by rwarden » Tue Jun 30, 2009 8:45 am

Using a logical field to control printing of the record band did not work, for both True and False conditions. Another idea?

rwarden
Posts: 31
Joined: Tue Oct 10, 2017 12:44 pm

=====> RE: Page count incorrect

Post by rwarden » Mon Jul 20, 2009 12:28 pm

Any additional ideas?

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

======> RE: Page count incorrect

Post by kfleming » Tue Jul 21, 2009 3:19 pm

If you want to email the report file to me, that might help.____Kathleen__R&R Support__livesupport@livewarepub.com

Post Reply