In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

ADO/ADS question

Xailer professional forum in English
Responder
Pedro Sousa e Faro
Mensajes: 91
Registrado: Mié May 30, 2007 5:25 pm

ADO/ADS question

Mensaje por Pedro Sousa e Faro »

Hi
I noticed that if we access via "ADO " to ADS , the connection is created
ok, but i can't kill the connection (even when we exit the aplication)
I tried:
::oAdo:lConnected:=.f.
::oAdo:End()
But the connections still on ADS.
The same happens with the Tables. SQL queries opens the tables but never
close it.
After some time without access , ADS kils the connection and close the
Tables.
Best regards
pedro
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

ADO/ADS question

Mensaje por ignacio »

Pedro,
As ADO implements a common interface for any Database server, I believe the
problem is in ADS ADO client, on contrary, we should have that same problem
with any other database server.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Pedro Faro" <psfaro@shi.pt> escribió en el mensaje
news:47669e00$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi
>
> I noticed that if we access via "ADO " to ADS , the connection is created
> ok, but i can't kill the connection (even when we exit the aplication)
>
> I tried:
> ::oAdo:lConnected:=.f.
> ::oAdo:End()
>
> But the connections still on ADS.
> The same happens with the Tables. SQL queries opens the tables but never
> close it.
>
> After some time without access , ADS kils the connection and close the
> Tables.
>
>
> Best regards
> pedro
>
>
>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

ADO/ADS question

Mensaje por NoName »

Pedro,
As ADO implements a common interface for any Database server, I believe the
problem is in ADS ADO client, on contrary, we should have that same problem
with any other database server.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Pedro Faro" <psfaro@shi.pt> escribió en el mensaje
news:47669e00$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi
>
> I noticed that if we access via "ADO " to ADS , the connection is created
> ok, but i can't kill the connection (even when we exit the aplication)
>
> I tried:
> ::oAdo:lConnected:=.f.
> ::oAdo:End()
>
> But the connections still on ADS.
> The same happens with the Tables. SQL queries opens the tables but never
> close it.
>
> After some time without access , ADS kils the connection and close the
> Tables.
>
>
> Best regards
> pedro
>
>
>
>
>
>
Responder