Changing settings in Print Preview
Is there a way to make changes in the print preview which are immediately
seen in the preview panel. I would like the user to be able to choose
between portrait/landscape or 8.5x11/8.5x14 in the preview window and
showing the changes in the preview panel. I have templates for each option
and would like to load the templates as needed.
Is this even possible and if so, can you point me in the right direction?
Thanks,
Mark Greenhaw
Vulcan Software Systems
Please do not attempt to reply to this message:
To email me:
Remove the X's before and after xmark@onedomain.comx
seen in the preview panel. I would like the user to be able to choose
between portrait/landscape or 8.5x11/8.5x14 in the preview window and
showing the changes in the preview panel. I have templates for each option
and would like to load the templates as needed.
Is this even possible and if so, can you point me in the right direction?
Thanks,
Mark Greenhaw
Vulcan Software Systems
Please do not attempt to reply to this message:
To email me:
Remove the X's before and after xmark@onedomain.comx
This discussion has been closed.
Comments
Yes, you can change the previewed page from the preview form, however, you
can't change the report template because you are inside a call to
Report.Print. You should create a TppViewer on a form so that you can
connect and disconnect the report as you like. Then you can make a call to
Viewer.RegenerateReport and use the methods on the TppViewer class to
traverse the pages. Here is a simple example to create a viewer based
project and can rerequest the page from the current report if the data
changes.
http://www.digital-metaphors.com/tips/SimpleViewer.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com