Page 1 of 1

Page count incorrect

Posted: Wed Jun 24, 2009 8:42 am
by rwarden
Have a report where there are 3 physical pages, but LASTPAGE() returns 2. Version 10.1.003. Ideas?

=> RE: Page count incorrect

Posted: Mon Jun 29, 2009 1:11 pm
by kfleming
Does the report contain a record band line?__Are you also printing a pageno() field on the report?____Kathleen__R&R Support

==> RE: Page count incorrect

Posted: Mon Jun 29, 2009 2:03 pm
by rwarden
>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.

===> RE: Page count incorrect

Posted: Tue Jun 30, 2009 8:12 am
by kfleming
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

====> RE: Page count incorrect

Posted: Tue Jun 30, 2009 8:45 am
by rwarden
Using a logical field to control printing of the record band did not work, for both True and False conditions. Another idea?

=====> RE: Page count incorrect

Posted: Mon Jul 20, 2009 12:28 pm
by rwarden
Any additional ideas?

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

Posted: Tue Jul 21, 2009 3:19 pm
by kfleming
If you want to email the report file to me, that might help.____Kathleen__R&R Support__livesupport@livewarepub.com