Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection is busy
Message
De
04/12/2007 02:38:47
 
 
À
03/12/2007 12:09:27
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01272827
Message ID:
01273004
Vues:
14
Hi Bruno,

>Which is the correct approach to download data from 2 (or more) SQL Server tables synchronously, like if
> acting with a VFP DB?

you need to make sure, that you have fetched all records.
The default setting of the "fetchsize" property is 100. In this case the connection is busy as long as not every record is fetched. Set the fetchsize of the CursorAdapters to -1.

>
>Besides, I wonder if the "connection is busy" problem might occur while performing a transaction with 2 or more tables involved.

as long as you have just one query, it should not occur
Holger Vorberg
Germany
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform