From: ChengTing Tsai
To: Anders Altberg
Visual FoxPro 9 SP2
Databases, Tables and SQL Server
Tuesday, May 19, 2009 1:34:16 AM
This message was rated by:
> Keeping a connection open isn't in itself a waste of resources; creating a new connction for every call to the server is not recommended.
> In CA you have oConn.Open and oConn.Close.
Thanks for your reply.
Please explain more about "In CA you have oConn.Open and oConn.Close."
Is it meaning that I can control the connection open or close by myself?
I am confused it.
If I want to avoid to waste resource,I should reuse the connection.
EX: Use CorsorGetProp to get connecttion I create before.
Is my thinking correct ?
I do appreciate your help. Thanks ^^
Posted by ChengTing Tsai @ 5/18/2009 9:38:45 AM
Posted by Anders Altberg @ 5/18/2009 9:48:15 AM
Posted by ChengTing Tsai @ 5/19/2009 1:34:16 AM
Posted by Bernard Bout @ 5/19/2009 6:09:01 AM
Posted by ChengTing Tsai @ 5/19/2009 10:05:02 AM