Page 1 of 1

Delete data after export

Posted: Tue Aug 13, 2019 9:23 pm
by Leandro Borges
Hello.

I need to execute a data source that contains a delete statement after the report is exported to PDF. How do I get her to perform in the end?

Example:
Delete from Teste

Thank you.

Re: Delete data after export

Posted: Thu Aug 15, 2019 6:54 am
by Lech Kulikowski
Hello,

You can try to set the ConnectOnStart=false property for the data source. And in the Exported event call Connect() method.

Thank you.