Page 1 of 1
Close connection programatically BEFORE
Posted: Tue 23 Aug 2016 10:30
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
Posted: Tue 23 Aug 2016 11:51
by ViktorV
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
Posted: Wed 24 Aug 2016 08:06
ViktorV 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
Perfect, Thanx
Re: Close connection programatically BEFORE
Posted: Thu 25 Aug 2016 11:59
by ViktorV
It is good to see that the problem has been solved.
Feel free to contact us if you have any further questions about MyDAC.