Hi.
I'm licenced user of SDAC.
After connection is lost due to any of network problems,
I get an error from MsConnection object,
while the code in a timer object is running.
The Code in timer object must run, if pc is connected.
But if connection is lost, MSConnection must try to connect.
To do this i used code below, but it doesn't work.
-----------------------------------------------------
FormCreate :
Msconnection1.Connect;
Timer1Timer:
if msconnection1.connected then
begin
......
......
.........
.............
end else msconnection1.connect;
------------------------------------------------------
What is the solution of this problem?
Does the timeout event cause this problem?
What should i do?
Regards.
Any Network Connection problem to affect msconnection
If connection was lost, SDAC 3 will try to reconnect automatically on subsequent executions of a query. If the connection is not recovered, you will get an exception again.
SDAC 4 has more powerful functionality for working with unstable networks. It can reexecute commands that were not executed because of network issues (Local Failover), and automatically disconnect if the connection is inactive (Disconnected Model).
SDAC 4 has more powerful functionality for working with unstable networks. It can reexecute commands that were not executed because of network issues (Local Failover), and automatically disconnect if the connection is inactive (Disconnected Model).