Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stopping A Query
Message
 
To
12/07/2004 12:23:01
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00923384
Message ID:
00923773
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform