Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC connection problem with VFP 6.0 remote views and Or
Message
 
 
À
01/11/1999 13:27:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00284929
Message ID:
00284953
Vues:
7
>Hi,
>
>we have a VFP 6.0 application in development that uses about 11 remote views (for tables located on an Oracle server.) This is working fine, except that the DBA called us last week saying each user testing the program was taking up 11 connections to the server, so their Oracle server even ran out of available connections. DOH!
>
>We tried setting "Share connection" in Tools/Options/Remote Data but according to my supervisor (who did the change), this didn't change anything.
>
>We are using the Microsoft ODBC driver for Oracle. The problem occurs with both Oracle 7 and Oracle 8.
>
>Suggestions anyone?
>
>thanks,
>Michel

Just checking that option won't change existing views. You can use DBGetProp and DBSetProp to determine/set this property for each view:

? dbgetprop('MyView','view','shareconnection')
? dbsetprop('MyView','view','shareconnection', .t.)

The syntax for creating a view with shared connection:

create sql view my view remote connection myconnection shared as ...
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform