Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection Busy Problem
Message
From
12/04/2005 10:38:36
 
 
To
12/04/2005 09:28:09
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01003548
Message ID:
01003743
Views:
20
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform