Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopping A Query
Message
De
12/07/2004 12:19:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00923384
Message ID:
00923388
Vues:
24
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform