Delete data after export

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

Delete data after export

Post by Leandro Borges » Tue Aug 13, 2019 9:23 pm

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: 1637
Joined: Tue Mar 20, 2018 5:34 am

Re: Delete data after export

Post by Lech Kulikowski » Thu Aug 15, 2019 6:54 am

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