Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP with MySQL question
Message
From
01/05/2011 08:16:07
 
 
To
01/05/2011 06:59:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01508928
Message ID:
01508929
Views:
82
>I'm using VFP with MySQL database.
>
>A typical One-to-many form takes 10 connections.
>I have checked other app (not VFP) with MySQL only takes 1 connection.
>
>how can I do the connection pooling in VFP
>
>thanks for the help
>
>regards,
>
>Jerry

In my application I am using STRCONNECT() to connect to the MySQL database. The connection handle is saved in the main application object and every form (better data object) is using the same connection handle to execute the queries.

Perhaps in your code it does a new connection for each query?
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform