How NOT to print a report

Dear All I set ProcessingOnly to Yes on the report 10430 (Export Direct Deposits) with expectations do all the processing and simply skip the printed output I do not need anyway and instead this message comes up: You cannot print in a report where the property ‘ProcessingOnly’ is set to ‘Yes’. How do I go around that? Thanks

It is not allowed to insert controls in any section when ProcessingOnly is Yes.

Simple, set processingonly to No…

& use the preview button to execute your code. maybe add IF NOT CurrReport.PREVIEW THEN ERROR(‘You cannot print this report.’);

Dear Daniel and H Ruiz it is not so simple: 1 I do need NOT to print the report so ProcessingOnly must be Yes 2 I do not need to have a user to go through an extra step of previewing report (who cares what in the preview), I just need to execute the Export function that this report has

Remove (delete) all sections of the report.

quote:

It is not allowed to insert controls in any section when ProcessingOnly is Yes.
Originally posted by savatage99 - 2005 Jul 18 : 13:23:49

PLUS

quote:

Remove (delete) all sections of the report.
Originally posted by Steffen Voel - 2005 Jul 18 : 14:50:57

EQUALS [8D]

Well yeah, but apparently Denis didn’t get it, so I just spelled it out, sorry [;)]