Delete data after export

Stimulsoft Reports.NET discussion
Post Reply
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Delete data after export

Post 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.
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Delete data after export

Post 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.
Post Reply