Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stop table insertions
Message
De
28/11/2000 16:02:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Stop table insertions
Divers
Thread ID:
00446434
Message ID:
00446434
Vues:
32
I have created a test program that is basically doing a numbers crunch, inserting multiple records into two different tables one after another. I want it to continue inserting records until the users tells it to stop. Right now I have it set up to stop when the user hits the ESC key (by putting all of my code in a Do While loop: DO WHILE(inkey() <> 27)). But, when the user hits ESC instead I am getting an error which says ***INTERRUPTED***. It doesn't finish going through the code, it just stops dead in its tracks. Can anyone tell me a good way to stop the insertions without getting the error message?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform