How to stop Backup in progress with MyDAC library
Posted: Sat 24 Feb 2007 13:26
Hello
I'm using the MyDump->BackupToFile command in my app.
For some reasons, I would like to be able to stop the backup when it has been started.
I could see that the BackupToFile command was not a blocking call. So I have added a button allowing to press cancel to stop it.
But then, I don't know how to do : I didn't find any method or property allowing to stop it !
I've tried to free the connection with 'MyDump->Connection = NULL' but it doesn't work.
Any idea ???
I'm using the MyDump->BackupToFile command in my app.
For some reasons, I would like to be able to stop the backup when it has been started.
I could see that the BackupToFile command was not a blocking call. So I have added a button allowing to press cancel to stop it.
But then, I don't know how to do : I didn't find any method or property allowing to stop it !
I've tried to free the connection with 'MyDump->Connection = NULL' but it doesn't work.
Any idea ???