Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bad Connection
Message
De
02/04/2003 19:07:31
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Bad Connection
Divers
Thread ID:
00773346
Message ID:
00773346
Vues:
47
VFP8.0 RTM
I have a connection class that I use for my apps to manage mulitple connections to a database. In my distroy method I call a method that closes all database connections. I have the following code.
llErr = .f.
ON ERROR llerr = .t.
FOR EACH lnCon IN this.ocollection 
  SQLDISCONNECT(lnCon)
NEXT 
ON ERROR &lcError 
SQLDISCONNECT(lnCon) Still calls my error method and what I want is to just bypass the error and go on.

Thanks for your help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform