>Is there a way to prevent any users to print when they are in the print preview. I would like to be able to disable only the print button in the navigation toolbar. If not, can I disable the toolbar and how do I do that?
>Is there other solutions?
Hi all, there was a thread half yrs ago in here to do this.
The coding is to hide the "Print Preview" toolbar!
So, user need to use keyboard:
Ctrl+Pageup to first page
Pageup to previous page
PageDown to next page
Ctrl+PageDown to Last page
To hide the toolbar, one of the code is to simulate double-click on control box
of toolbar.
For me, I use this code to close it!
PrintJob
If WVisible("Print Preview")
Hide Window "Print Preview"
Endif
KEYBOARD {CTRL+F10}
_pbpage = 1
Report form myreport preview
EndPrint
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.