Preventing Printing after Preview

I can’t seem to find the setting on a Sales Invoice that prevents the user from printing the report when they preview it. I want to duplicate this behaviour for another report. Django

It’s not really a setting. It’s the fact that there is code based on CurrReport.Preview (on the first DataItem). As long as you check CurrReport.Preview, the system won’t allow you to Print the Report from the Preview Window. To see this work, create a new report based on any table with no code. You will be able to preview then print this report. Add IF CurrReport.Preview THEN; to the OnAfterGetRecord trigger. Even without any logic behind this statement, you will not be allowed to Print the Report from Preview.

That’s a pretty subtle behaviour - thanks for passing it along! Django