Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shareconnection - remote views
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00850009
Message ID:
00850020
Views:
18
This message has been marked as the solution to the initial question of the thread.
>Hi,
>how is it possible to share the connection of two (or more) remote views.
>I was never a problem to do this, but since updating to VFP8 I have problems with it in application.
>
>See the code with SQL-server Northwind database, the result of the code is, that 2 connections are user instead of 2, though the property "Shareconnection" is set to true on both views.
>
>What could be my mistake ?
>
>Thank you,

Hi Andreas,

All VFP8 command use ODBC statement handles instead of ODBC connection handles. You can use SQLGETPROP(..., "ODBChdbc") to get connection handle. See Enhanced SQL Pass-Through Functionality and Language Improvements in help.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform