Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapters
Message
 
 
To
20/01/2005 14:27:36
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Oracle
Miscellaneous
Thread ID:
00979005
Message ID:
00979080
Views:
13
>How do I set cursoradapters to use shared connections?
>
>Jason

You do not do this at the CA level. The CA uses whatever connection you specify in the DataSource property or the *CmdDataSource properties [* = Insert, Update or Delete]. When you create your connection using SQLSTRINGCONNECT or SQLCONNECT pass .T. for the "sharable" parameter of these functions. The DataSource property of your CA is where you identify the connection. For example, I have GetHandle() for my DataSource property value which returns the numeric connection handle to this DataSource property at runtime.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform