Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP creating a seperate session for each table
Message
From
27/07/1999 11:51:03
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
27/07/1999 11:38:22
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00246649
Message ID:
00246663
Views:
12
>I am using VFP6 as the front end to a 3nf Oracle 8.5 database. I know that there are no really good tools for normalised data, but VFP is the best. Anyway, for each table used in a form VFP creates a new session, so that when in the master data form, there are 18 open sessions, and when a sub-form gets called, yet another session gets opened. Is there any way I can get VFP to only create 1 session per instance? While debugging the app I keep running out of sessions on the Oracle server. As there will be up to 20 concurrent uses of the app when it rolls out, I must keep the connection count down.


I presume you are using remote views for your access. In this case, there is a property in the view definition (advanced options from the query menu) that allows you to set the check box - share connection. By default, this is NOT checked but it should be! Use the same connection for all remote views, and mark them all as sharing the connection.

If you are using SQL passthrough, you should only have the one connection object to use anyway.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform