Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stopping A Query
Message
From
12/07/2004 12:19:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00923384
Message ID:
00923388
Views:
25
>I would like to allow the user to interrup a long query
>by pressing escape.
>
>Anyone know how to do this?

How about:
SET ESCAPE ON
select ...
SET ESCAPE OFF
You will want to know whether the user indeed pressed escape; I am not sure, but I think this might be done with lastkey().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform