Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to interrupt a SQL Select?
Message
De
10/01/2000 16:22:43
 
 
À
10/01/2000 14:12:03
Jim Davis
Prospect Information Network
Chicago, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00315612
Message ID:
00315771
Vues:
25
>I've tried a few different ON ESCAPE possibilities - nothing, running some routine that displays a MESSAGEBOX, etc.
>
>The only way I've been able to escape out of the SELECT is by doing something I read about on UT, by incorporating some code in the WHERE clause that called a function that incorporated a DOEVENTS, but that slowed the SELECT to a crawl, so that doesn't seem to be an acceptable way to do it.
>
>If I understand, in theory it _is_ possible to escape from a SELECT that is running in a program?
>
>jd


Hmmm. If I have SET ESCAPE ON and ON ESCAPE is set to nothing, if I start a long SQL it will stop when I press escape. It may not be instantaneous, but it does stop before it completes. You don't see this? (VFP6/SP3) It's worked this same way for as long as I can remember, though.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform