Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection Busy Problem
Message
De
12/04/2005 10:38:36
 
 
À
12/04/2005 09:28:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01003548
Message ID:
01003743
Vues:
21
Great, you just made my day.

BR

Peter

>Hello,
>
>i've had the same problem once with remote views.
>
>These settings solved the problem (forced REQUERY or SQLEXEC to be synchronous so the connection can't ever be busy)
>
>for SQLEXEC at startup of app (before SQLCONNECT is called):
>SQLSETPROP(0,'Asynchronous',.F.)
>
>for views that all share one connection (need to be set for every view):
>DBSETPROP('viewname','VIEW','AllowSimultaneousFetch',.F.)
>DBSETPROP('viewname','VIEW','FetchAsNeeded',.F.)
>DBSETPROP('viewname','VIEW','FetchSize',-1)
>DBSETPROP('viewname','VIEW','MaxRecords',-1)
>
>Regards
>Christian
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform