Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to fix connection is busy error
Message
From
17/01/2005 15:37:27
 
 
To
17/01/2005 03:19:55
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00977596
Message ID:
00977830
Views:
25
Aaron,

Thank you.

My remote view can return tens of thousands rows, so this waiting will go forever.

Is it possible to cancel the asynch fetching in remote view ?
Is it possible to use commands like
SQLSETPROP(gnHandle, 'asynchronous', .F.)  
SQLCANCEL(gnHandle)
to cancel remote view like cancelling SPT ?

>I check the connection is not busy, if yes, loop around, if no continue like this...
>
>
>SELECT TableA
>	nConnectionHandle=CURSORGETPROP('ConnectHandle')
>	DO WHILE SQLGETPROP(nConnectionHandle, "ConnectBusy") = .T.
>		WAIT "Waiting" TIMEOUT 1
>	ENDDO
>
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform