the table sales invoice header has a fields "No. Printed". I would like to count this field when the report is printed. I've checked the standard report (Report 1306). It works fine unless it cannot be previewed.
How can I count the field "No. Printed" when the report is printed or saved and the report still be previewed?