Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Share connection
Message
De
01/06/1998 16:28:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00103577
Message ID:
00103776
Vues:
19
I am using a Synchronous connection for all the views.
Records to be fetch at a time is default to 100
Maximum records to fetch is -1
What I am worry about is that the original programmer uses SQLCANCEL
at lot even though we never use Asynchronous connection.
Do you think this is the cause?
Thanks for the advice.
Kevin.

>Kevin,
>
>Only one query can execute over a single connection at once. Chances are, when you open your views, one is still opening when you try to open the next one. This can happen if your connection is set for asynchronous execution or (more likely) if your views have a fetch size that is causing fewer than the total number of records to be fetched at once. If you set the FetchSize of all your views to -1 (fetch all records at once) you should be OK.
>
>>I am getting a strange error message from VFP 5.0a
>>stating that the DSN is busy. I use a shared connection
>>with ~30 remote views to a MS SQL Server 6.5 database.
>>What did I do wrong? Does anyone know of a remedy?
>>Thank you in advance.
>>
>>Kevin Yang
>>Vartec Telecom, Inc.
>>kyang@vartec.net.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform