Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor Adapter Problem
Message
 
To
28/10/2005 08:39:07
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01062909
Message ID:
01062920
Views:
12
In cursor adapter builder Tab 'properties' check use existing connection handle and write variable in who is sql handler

>Hello,
>
>I am using several cursor adaptors to access data from a external foxpro database. When I create the cursor adapter with a cursor adaptor builder , builder creates the init code of the cursor adaptor automatically. When I look to this init code, I see that Cursor adaptor creates a new ADODB connection object. This means everytime I create a cursor adaptor object , I open a new connection. So I create a new connection for all of my cursor adaptors because I have more than one cursor adaptor object in my application. In my opinion, this is unnecessary. Is there any way to make these cursor adaptor to share same connection object without creating new one?
>
>Thanks..
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform