Set first page to show in preview
Is there any way to set the current page in preview? I have a report with 10 pages but I want
the preview to start at say page 3 so the user can just click print current page. I do not want to
use the InitialIndex since the user will not be able to print all pages 1-10.
Jim
the preview to start at say page 3 so the user can just click print current page. I do not want to
use the InitialIndex since the user will not be able to print all pages 1-10.
Jim
This discussion has been closed.
Comments
You can use the PreviewFormCreate event to access the TppViewer.GotoPage
routine to start the preview on a given page. Take a look at the following
example of how to do this.
http://www.digital-metaphors.com/tips/StartPreviewOnSelectedPage.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com