Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopping A Query
Message
 
À
12/07/2004 12:23:01
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00923384
Message ID:
00923773
Vues:
21
Mike,

Just before my query, I have:
cSaveErr = ON("ERROR")
SET ESCAPE ON
SET TALK ON
SET NOTIFY ON
ON ESCAPE lCancelled = .T.	
ON ERROR lError = .T.
Just after, I have:
SET TALK OFF
SET NOTIFY OFF
SET ESCAPE OFF
ON ERROR &cSaveErr
			
IF lCancelled
  MESSAGEBOX("Query cancelled by user",64, .Caption)
ENDIF
The query continues to run even when I press Escape
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform