Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC connection problem with VFP 6.0 remote views and Or
Message
 
 
To
01/11/1999 13:27:16
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00284929
Message ID:
00284953
Views:
8
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform