Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open ASA Cursor Adaptor sessions
Message
 
To
03/05/2005 11:28:12
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01010427
Message ID:
01010576
Views:
21
Hi Christian

Thanks for the reply. The CA opens the table all fine. I update and do changes - No problem. When I exit the connection is still active and it stays active. I see James says that I can set a timeout on the ASA server but I would rather want to close the connection though my code.

I have added no code to disconnect the connection since I have added no code to open the connection except for specifying the connection to be used.



>Hello,
>
>i know nothing about this ASA DB but the CursorAdapter itself (without additional code by you) will not make connections by itself .. you'll have to explicitly set CursorAdapter.DataSource to either a valid connection handle returned from SQLCONNECT/SQLSTRINGCONNECT or with a ADODB.Connection object
>
>i would check your CA class code, and if it calls SQL(STRING)CONNECT or instantiates ADO Connection objects, verify if a corresponding SQLDISCONNECT() is called or that the ADO Connection object is explicitly destroyed
>
>
>
>Regards
>Christian
Previous
Reply
Map
View

Click here to load this message in the networking platform