Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to fix connection is busy error
Message
De
17/01/2005 15:37:27
 
 
À
17/01/2005 03:19:55
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00977596
Message ID:
00977830
Vues:
27
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform