Close connection programatically BEFORE
-
- Posts: 12
- Joined: Fri 25 Sep 2015 09:28
Close connection programatically BEFORE
When i work i need to have my connection open (tuniconnection.connected) but not when i run the application it must not be active, it will hang the exe for my customers. How do i close the connection so it wont try to connect? When i close it in the forms "on create" event, it already to late, it will still try to connect.
Re: Close connection programatically BEFORE
To solve your issue, please set the TUniConnection.Options.KeepDesignConnected property to False using Object Inspector.
Please post your questions concerning UniDAC in the corresponding topic: viewforum.php?f=28
Please post your questions concerning UniDAC in the corresponding topic: viewforum.php?f=28
-
- Posts: 12
- Joined: Fri 25 Sep 2015 09:28
Re: Close connection programatically BEFORE
Perfect, ThanxViktorV wrote:To solve your issue, please set the TUniConnection.Options.KeepDesignConnected property to False using Object Inspector.
Please post your questions concerning UniDAC in the corresponding topic: viewforum.php?f=28
Re: Close connection programatically BEFORE
It is good to see that the problem has been solved.
Feel free to contact us if you have any further questions about MyDAC.
Feel free to contact us if you have any further questions about MyDAC.