You can't hide the Print button, if it is a printing report.
If it is a report that is used for a batch (like for modification of datas) u can set the property "processonly".
So there is only a OK and Cancel button.
If it is a print report and you whish only to use the "Preview" function, u can use WSH to send a "ALT+V" (Engl. caption). like
Answers
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
If it is a report that is used for a batch (like for modification of datas) u can set the property "processonly".
So there is only a OK and Cancel button.
If it is a print report and you whish only to use the "Preview" function, u can use WSH to send a "ALT+V" (Engl. caption). like
If you ever will not allow to print this report u can also use:
So, the user can only use the preview and can't also print from the preview mode (ok, he can make a screen copy and print this :-) )
Regards
I ofcourse had to change the "v" for an "h" since we use a swedish version.
Do you know a way to get the character to use depending on the language setting?
What is this code intended for?
Andwian