Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shareconnection - remote views
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00850009
Message ID:
00850020
Vues:
17
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform