Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection is busy error
Message
From
02/03/2004 15:44:14
 
 
To
01/03/2004 06:11:15
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00881990
Message ID:
00882465
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
>lnSql = SQLCONNECT('SomeDataSource')
>
>* Check for lnSql > 0, if successful
>
>USE MyDB!View1 IN 0 CONNSTRING lnSql
>
>USE MyDB!View2 IN 0 CONNSTRING lnSql
>&& Error 'Connection MyDB is busy'

If your using VFP 8.0 try this:
lnSql = SQLCONNECT('SomeDataSource',.t.)

* Check for lnSql > 0, if successful

USE MyDB!View1 IN 0 CONNSTRING lnSql
USE MyDB!View2 IN 0 CONNSTRING lnSql
If that doesn't work, put this line after you first use:
CursorSetProp('AllowSymultaneousFetch',.t.)
BOb



>
>
>So I put in a
>
>DO WHILE SQLGETPROP(lnSql,"ConnectBusy")
>ENDDO
>
>But that just caused the thing to go into a forever loop.
>
>Funny thing is, it works in the debugger.
>
>What to do?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform