Hi everyone,
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?
Thank you.
-1
Answers
IF NOT CurrReport.PREVIEW THEN
"No. Printed" := "No. Printed" +1;
Thank you aripermadi, I've tried but the report cannot be previewed.
It's work. Thank you so much.