Current Page Number
Hi,
I've got to a stage where I can display number of report pages on my form.
As I move forward through pages, the current page number also increments.
However, if I move back to previous pages, the AbsolutePageNo seems to
report the highest page number that has been viewed, not the currently
displayed page.
Any ideas?
Thanks
Alex
I've got to a stage where I can display number of report pages on my form.
As I move forward through pages, the current page number also increments.
However, if I move back to previous pages, the AbsolutePageNo seems to
report the highest page number that has been viewed, not the currently
displayed page.
Any ideas?
Thanks
Alex
This discussion has been closed.
Comments
all pages before displaying the first one. Otherwise RB creates only those
pages you are walking through.
Robbi
My total page count is correct as I do use twoPass. However, when scrolling
backwards from the last page, the AbsolutePageNo property does not appear to
return the correct page number.
Thanks
Alex
why don't you use the TppSystemVariable configured as vtPageSetDesc or
vtPageSet (VarType)
this will give you page x/y
ans works correctly in the preview
cu
marc
displays the page number in the Viewer's page change event and uses the
Viewer's FirstPage, NextPage, and Last page methods to traverse the report.
Hopefully following this example should help you figure out where your
problem lies.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com