Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection is busy error
Message
De
01/03/2004 06:11:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Connection is busy error
Divers
Thread ID:
00881990
Message ID:
00881990
Vues:
70
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'


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?
Peter Pirker


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

(Woody Allen)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform